Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 041b78c8 authored by Darren Hart's avatar Darren Hart Committed by Michal Marek
Browse files

merge_config.sh: use signal names compatible with dash and bash



The SIGHUP SIGINT and SIGTERM names caused failures when running
merge_config.sh with the dash shell.  Dropping the "SIG" component makes
the script work in both bash and dash.

Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
Acked-by: default avatarJohn Stultz <john.stultz@linaro.org>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
parent 4b5f7214
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ clean_up() {
       rm -f $TMP_FILE
       exit
}
trap clean_up SIGHUP SIGINT SIGTERM
trap clean_up HUP INT TERM

usage() {
	echo "Usage: $0 [OPTIONS] [CONFIG [...]]"