From: numa Date: Mon, 31 Aug 2009 11:31:31 +0000 (+0200) Subject: zbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=7a31fd761f4d382e68be839a68ec3cfab376542d;p=imunes.git zbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart --- diff --git a/imunes b/imunes index 595ba99..8377e7d 100755 --- a/imunes +++ b/imunes @@ -38,6 +38,9 @@ LIBDIR="" imunes=$ROOTDIR/$LIBDIR/imunes.tcl +# zbog testiranja lokalnog Linuxa ne zelimo automatski remoteStart +test `id -u` = 0 || { echo 'you are not root (id != 0)'; exit 1; } + case $1 in -b | --batch) exec tclsh8.4 $imunes "$@"