diff options
Diffstat (limited to 'backup.in')
-rwxr-xr-x | backup.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/bash rsyncOptions='-vxcaHAXF' -rsync --may-modify-others 2>&1 | \ - grep -q 'unknown option' || +rsync --help | \ + grep -q -- --may-modify-others && \ rsyncOptions="${rsyncOptions} --may-modify-others" [ -r "#ETCDIR#/backup.conf" ] && \ |