projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove operation help.
[anna.git]
/
example
/
diameter
/
launcher
/
resources
/
scripts
/
operation_signal.sh
diff --git
a/example/diameter/launcher/resources/scripts/operation_signal.sh
b/example/diameter/launcher/resources/scripts/operation_signal.sh
index
4a9d0a7
..
87e4ce5
100755
(executable)
--- a/
example/diameter/launcher/resources/scripts/operation_signal.sh
+++ b/
example/diameter/launcher/resources/scripts/operation_signal.sh
@@
-116,17
+116,17
@@
check_pid $PID
kill -s SIGUSR2 $PID
# Detect EOF and print all except that last line:
kill -s SIGUSR2 $PID
# Detect EOF and print all except that last line:
-count=$((10*timeout))
+count=$((10*timeout))
expired=yes
expired=yes
-while [ $count -gt 0 ]
-do
- sleep 0.1
- count=$((count-1))
+while [ $count -gt 0 ]
+do
+ sleep 0.1
+ count=$((count-1))
if tail -1 sigusr2.out | grep "^EOF" >/dev/null; then
expired=
break;
fi
if tail -1 sigusr2.out | grep "^EOF" >/dev/null; then
expired=
break;
fi
-done
+done
if [ -z "$expired" ]
then
if [ -z "$expired" ]
then