From 06598d00acf7a679535cda1094f6c49c785d008a Mon Sep 17 00:00:00 2001 From: david Date: Mon, 1 Jul 2013 22:09:19 +0200 Subject: [PATCH] made root privileges optional --- sshbackup | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sshbackup b/sshbackup index 14c4b5d..80924c0 100755 --- a/sshbackup +++ b/sshbackup @@ -79,8 +79,9 @@ preflight() { #amiroot? if ( ! amiroot ); then - echo "aborting mission. you must be root" - return 1 + echo "warning: in order to conserve owner and group attributes" + echo "warning: you need to run sshbackup as root." + return 0 fi #source and destination path?