os: createHardlink: clarify documentation

I know no (UNIX-like) system which restricts creation of hardlinks.
This commit is contained in:
Simon Ruderich 2016-09-15 04:20:45 +02:00
commit 21433477df

View file

@ -1070,8 +1070,8 @@ proc createHardlink*(src, dest: string) =
## Create a hard link at `dest` which points to the item specified
## by `src`.
##
## **Warning**: Most OS's restrict the creation of hard links to
## root users (administrators) .
## **Warning**: Some OS's restrict the creation of hard links to
## root users (administrators).
when defined(Windows):
when useWinUnicode:
var wSrc = newWideCString(src)