projects
/
grml-debootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cbdabc1
)
Improve check4root message WRT usage instructions.
author
Michael Prokop
<mika@grml.org>
Thu, 2 Dec 2010 14:14:43 +0000
(15:14 +0100)
committer
Michael Prokop
<mika@grml.org>
Thu, 2 Dec 2010 14:15:23 +0000
(15:15 +0100)
grml-debootstrap
patch
|
blob
|
history
diff --git
a/grml-debootstrap
b/grml-debootstrap
index
fe1b22b
..
a850a4e
100755
(executable)
--- a/
grml-debootstrap
+++ b/
grml-debootstrap
@@
-91,7
+91,10
@@
fi
# make sure we have what we need {{{
check4progs debootstrap dialog || exit 1
-check4root || exit 1
+if ! check4root ; then
+ echo "For usage instructions please execute '$PN --help'."
+ exit 1
+fi
# }}}
# source main configuration file {{{