X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=usr_sbin%2Fgrml-config-root;h=db6a2a5871646008681a89789012723d4d3cde5b;hb=eb97848aaf700ab117306609bfe3fe62280953c2;hp=e1e11585bf4cb6d2126c4741d3713ef481e8347a;hpb=c08b156abb0b2b1b1335cb1ada0c08758553238b;p=grml-scripts.git diff --git a/usr_sbin/grml-config-root b/usr_sbin/grml-config-root index e1e1158..db6a2a5 100755 --- a/usr_sbin/grml-config-root +++ b/usr_sbin/grml-config-root @@ -9,8 +9,8 @@ PATH=${PATH:-'/bin/:/sbin/:/usr/bin:/usr/sbin'} # set up some variables -DIALOG=`which dialog` -PN=$(basename $0) +DIALOG=$(command -v dialog) +PN=$(basename "$0") if [ "$(id -ru)" != "0" ] ; then $DIALOG --msgbox "Error: $0 requires root permissions. Exiting." 0 0