diff options
author | Filipp Lepalaan <filipp@mac.com> | 2011-05-15 12:02:40 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2011-05-15 12:02:40 +0300 |
commit | 278d8cd20ebe0a75376076d45a8def55168f6cd2 (patch) | |
tree | 8ed7eef96eeaeb3bf40a72d4edeace084aedc868 /up2date.app/Contents | |
parent | d7e2078028a1f334d7cdcda252893f34d3baf198 (diff) | |
download | mtk-278d8cd20ebe0a75376076d45a8def55168f6cd2.tar.gz mtk-278d8cd20ebe0a75376076d45a8def55168f6cd2.tar.bz2 mtk-278d8cd20ebe0a75376076d45a8def55168f6cd2.zip |
testing
Diffstat (limited to 'up2date.app/Contents')
-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 |