Skip to content

Commit 85ae693

Browse files
committed
Remove prints
1 parent 3429948 commit 85ae693

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

cmd/o2-aliecs-shmcleaner

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ for p in `pgrep -u flp`; do
3434
c="`ps -ho %c $p`"
3535
[ "$c" = "o2-alf" ] && continue
3636
echo "Kill '%s' (PID:%s)\n" "`date`" "`hostname -s`" "$c" "$p" | $O2_INFOLOGGER_PATH/bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY
37-
printf "%s\t%s\tKilling '%s' (PID:%s)\n" "`date`" "`hostname -s`" "$c" "$p"
3837
n=$((n+1))
3938
kill $p
4039
done
@@ -46,8 +45,7 @@ if (( n > 0 )); then
4645
for p in `pgrep -u flp`; do
4746
c="`ps -ho %c $p`"
4847
[ "$c" = "o2-alf" ] && continue
49-
echo "Kill -9 '%s' (PID:%s)\n" "`date`" "`hostname -s`" "$c" "$p" | $O2_INFOLOGGER_PATH/bin/o2-infologger-log -x -s Fatal -o Facility=$O2_FACILITY
50-
printf "%s\t%s\tKilling \"-9\" '%s' (PID:%s)\n" "`date`" "`hostname -s`" "$c" "$p"
48+
echo "Kill -9 '%s' (PID:%s)\n" "`date`" "`hostname -s`" "$c" "$p" | $O2_INFOLOGGER_PATH/bin/o2-infologger-log -x -s Debug -o Facility=$O2_FACILITY
5149
kill -9 $p
5250
done
5351
fi

0 commit comments

Comments
 (0)