System test feature
[anna.git] / example / diameter / launcher / resources / scripts / operation_signal.sh
index c462a7e..8c9ce85 100755 (executable)
@@ -12,7 +12,6 @@ _exit () {
 # EXECUTION #
 #############
 cd `dirname $0`
-echo
 # Get the PID:
 [ ! -f .pid ] && _exit "Can't found '`pwd`/.pid'.\nTry to pgrep your process name and dump pid to that file."
 PID=`cat .pid`
@@ -22,10 +21,7 @@ PID=`cat .pid`
 echo $1 > sigusr2.tasks.input
 kill -s SIGUSR2 $PID
 
-sleep 1
-echo
-echo
-echo "You could see results on '`pwd`/sigusr2.tasks.output' file."
-echo
+#echo "You could see results on '`pwd`/sigusr2.tasks.output' file."
+cat `pwd`/sigusr2.tasks.output 2>/dev/null
 echo