From 7e016a178710fe1ee2a6c4d06541c5c46ace3c18 Mon Sep 17 00:00:00 2001 From: cyanide-burnout Date: Thu, 24 Mar 2016 17:27:31 +0400 Subject: [PATCH] Fixed cronosagent.sh --- cronosagent.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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