From 711a64471ef4e97d8b095aed512a39c085bd3409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robin=20Ob=C5=AFrka?= Date: Sun, 24 Jul 2016 15:38:26 +0200 Subject: Remove some more debug outputs --- backuper.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/backuper.sh b/backuper.sh index ddaac26..ce4d2a8 100644 --- a/backuper.sh +++ b/backuper.sh @@ -134,7 +134,6 @@ compute_variables() { } prepare() { - echo "prepare $$" trap 'error_handler' EXIT INT QUIT TERM ABRT HUP ILL TRAP BUS FPE SEGV mkdir -p "$RUNDIR" } @@ -145,24 +144,19 @@ error_handler() { } cleanup() { - echo "Cleaning up... ($$)" >&2 - trap - EXIT INT QUIT TERM HUP ILL TRAP BUS FPE SEGV for PID in $(cat "$RUNDIR"/"$PID_FILE"); do if ps --ppid $$ | grep -q "$PID"; then - echo "Killing "$PID"" kill "$PID" fi done [ -n "$PID_GENERATE" ] && if ps --ppid $$ | grep -q "$PID_GENERATE"; then - echo "Killing "$PID_GENERATE"" kill "$PID_GENERATE" fi [ -n "$PID_STORE" ] && if ps --ppid $$ | grep -q "$PID_STORE"; then - echo "Killing "$PID_STORE"" kill "$PID_STORE" fi -- cgit v1.2.3