diff --git a/cronosagent.sh b/cronosagent.sh index 1895232..129a968 100755 --- a/cronosagent.sh +++ b/cronosagent.sh @@ -6,7 +6,7 @@ SERVER_ADDRESS=aesyle.dstar.su SERVER_PASSWORD=passw0rd SERVICE_MODE=1 -if [ -n "$!" ] +if [ -n "$1" ] then # 1 - print to standard output # 2 - print to system log