aboutsummaryrefslogtreecommitdiff
path: root/src/ninjahelper.in
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2005-11-29 10:10:42 +0000
committerintrigeri <intrigeri@boum.org>2005-11-29 10:10:42 +0000
commit5b392f68baa6462fbb891a81ae05dcbbad91f91b (patch)
tree0dc29739769ff14e71e35678bc5ae14a063b8bc1 /src/ninjahelper.in
parentaabc2bbe10785823d05f41ac568d1b464b61838c (diff)
downloadbackupninja-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/ninjahelper.in')
-rwxr-xr-xsrc/ninjahelper.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninjahelper.in b/src/ninjahelper.in
index cf24e7b..9ac42a8 100755
--- a/src/ninjahelper.in
+++ b/src/ninjahelper.in
@@ -311,7 +311,7 @@ fi
# am I running as root?
if [ "$UID" != "0" ]; then
- msgBox "warning" "$0 must be run by root!"
+ msgBox "warning" "`basename $0` must be run by root!"
exit 1
fi