diff options
-rwxr-xr-x | up2date.app/Contents/Resources/up2date.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/up2date.app/Contents/Resources/up2date.sh b/up2date.app/Contents/Resources/up2date.sh index 40d7f75..d23438e 100755 --- a/up2date.app/Contents/Resources/up2date.sh +++ b/up2date.app/Contents/Resources/up2date.sh @@ -4,7 +4,7 @@ # @author Filipp Lepalaan # @package mtk -if [[ id -u != 0 ]]; then +if [[ $(id -u) != 0 ]]; then echo "$(basename $0) must be run as root" 2>&1 exit 1 fi |