Commit f15411ba authored by Seblu's avatar Seblu
Browse files

checkservice: don't exit on sighup

ignore sighup to avoid restart to being fucked by tty hanghup
parent 4e2f3db4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -57,6 +57,9 @@ done
shift $((OPTIND - 1));
(( $# > 0 )) && usage

# avoid to be sighup'ed by interactive shell
trap '' SIGHUP

# reload units list
[[ -z $no_reload ]] && systemctl --system daemon-reload