]> git.ipfire.org Git - thirdparty/rsync.git/commitdiff
Use the --super option for the non-fake test, just in case a system
authorWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000 (23:47 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 28 Apr 2007 23:47:16 +0000 (23:47 +0000)
can chown without appearing to be root (uid 0).

testsuite/chown.test

index 609ba921ef6795251c5222223ec7ce101557e9a8..289889032ad5a5b2bae8faa13daf3b2deea2c526 100644 (file)
@@ -36,6 +36,7 @@ case $0 in
     esac
     ;;
 *)
+    RSYNC="$RSYNC --super"
     case `id -u` in
     '') ;; # If "id" failed, try to continue...
     0)  ;;