mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 12:54:15 -04:00
Use the --super option for the non-fake test, just in case a system
can chown without appearing to be root (uid 0).
This commit is contained in:
1 parent
e8c64ffdc7
commit
548ca46fec
1 file changed
+1
@@ -36,6 +36,7 @@ case $0 in
|
||||
esac
|
||||
;;
|
||||
*)
|
||||
RSYNC="$RSYNC --super"
|
||||
case `id -u` in
|
||||
'') ;; # If "id" failed, try to continue...
|
||||
0) ;;
|
||||
|
||||
Reference in new issue
Block a user