diff options
author | intrigeri <intrigeri@boum.org> | 2005-11-29 10:10:42 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2005-11-29 10:10:42 +0000 |
commit | 5b392f68baa6462fbb891a81ae05dcbbad91f91b (patch) | |
tree | 0dc29739769ff14e71e35678bc5ae14a063b8bc1 /src/backupninja.in | |
parent | aabc2bbe10785823d05f41ac568d1b464b61838c (diff) | |
download | backupninja-5b392f68baa6462fbb891a81ae05dcbbad91f91b.tar.gz backupninja-5b392f68baa6462fbb891a81ae05dcbbad91f91b.tar.bz2 |
r3565@krups: intrigeri | 2005-11-16 20:43:44 +0100
ninjahelper and backupninja: cosmetic enhancement of the "am I root?" test.
Diffstat (limited to 'src/backupninja.in')
-rwxr-xr-x | src/backupninja.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backupninja.in b/src/backupninja.in index f43eaab..7855a6d 100755 --- a/src/backupninja.in +++ b/src/backupninja.in @@ -431,7 +431,7 @@ fi [ -f "$logfile" ] || touch $logfile if [ "$UID" != "0" ]; then - echo "$0 can only be run as root" + echo "`basename $0` can only be run as root" exit 1 fi |