diff options
author | Robin Obůrka <r.oburka@gmail.com> | 2016-07-24 15:38:26 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-07-24 16:34:02 +0200 |
commit | 711a64471ef4e97d8b095aed512a39c085bd3409 (patch) | |
tree | d34d00b1bfac84bd81682febfc7fe7590d7016d0 /backuper.sh | |
parent | Reorganize file to sections (diff) | |
download | backuper-711a64471ef4e97d8b095aed512a39c085bd3409.tar.xz |
Remove some more debug outputs
Diffstat (limited to 'backuper.sh')
-rw-r--r-- | backuper.sh | 6 |
1 files changed, 0 insertions, 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 |