diff --git a/bash/release/gsync b/bash/release/gsync index 5928002..70a5a4e 100755 --- a/bash/release/gsync +++ b/bash/release/gsync @@ -984,6 +984,8 @@ main() { { . "${UTILS_FOLDER}"/common-utils.bash; } || { printf "Error: Unable to source util files.\n" && exit 1; } } + trap '' TSTP # ignore ctrl + z + _setup_arguments "${@}" _check_debug _config_variables diff --git a/bash/release/gupload b/bash/release/gupload index 7937bc3..0be088e 100755 --- a/bash/release/gupload +++ b/bash/release/gupload @@ -1708,6 +1708,7 @@ main() { trap 'abnormal_exit="1"; exit' INT TERM trap '_cleanup' EXIT + trap '' TSTP # ignore ctrl + z export MAIN_PID="$$" diff --git a/bash/sync.bash b/bash/sync.bash index d937b3a..30188f1 100755 --- a/bash/sync.bash +++ b/bash/sync.bash @@ -631,6 +631,8 @@ main() { { . "${UTILS_FOLDER}"/common-utils.bash; } || { printf "Error: Unable to source util files.\n" && exit 1; } } + trap '' TSTP # ignore ctrl + z + _setup_arguments "${@}" _check_debug _config_variables diff --git a/bash/upload.bash b/bash/upload.bash index 072d447..a24fcdb 100755 --- a/bash/upload.bash +++ b/bash/upload.bash @@ -775,6 +775,7 @@ main() { trap 'abnormal_exit="1"; exit' INT TERM trap '_cleanup' EXIT + trap '' TSTP # ignore ctrl + z export MAIN_PID="$$" diff --git a/install.sh b/install.sh index 2513785..0e2a262 100755 --- a/install.sh +++ b/install.sh @@ -709,6 +709,8 @@ main() { fi } + trap '' TSTP # ignore ctrl + z + if [ -n "${UNINSTALL}" ]; then { _check_existing_command && _uninstall; } || { "${QUIET:-_print_center}" "justify" "google-drive-upload is not installed." "="; } diff --git a/sh/release/gsync b/sh/release/gsync index f901115..e0bb101 100755 --- a/sh/release/gsync +++ b/sh/release/gsync @@ -1004,6 +1004,8 @@ main() { eval "${SOURCE_UTILS}" || { printf "Error: Unable to source util files.\n" && exit 1; } fi + trap '' TSTP # ignore ctrl + z + _setup_arguments "${@}" _check_debug _config_variables diff --git a/sh/release/gupload b/sh/release/gupload index 5e5e04b..98b425c 100755 --- a/sh/release/gupload +++ b/sh/release/gupload @@ -1719,6 +1719,7 @@ main() { trap 'abnormal_exit="1" ; exit' INT TERM trap '_cleanup' EXIT + trap '' TSTP # ignore ctrl + z export MAIN_PID="$$" diff --git a/sh/sync.sh b/sh/sync.sh index b709e9e..4720d2b 100755 --- a/sh/sync.sh +++ b/sh/sync.sh @@ -673,6 +673,8 @@ main() { eval "${SOURCE_UTILS}" || { printf "Error: Unable to source util files.\n" && exit 1; } fi + trap '' TSTP # ignore ctrl + z + _setup_arguments "${@}" _check_debug _config_variables diff --git a/sh/upload.sh b/sh/upload.sh index 4388f7f..3c32832 100755 --- a/sh/upload.sh +++ b/sh/upload.sh @@ -801,6 +801,7 @@ main() { trap 'abnormal_exit="1" ; exit' INT TERM trap '_cleanup' EXIT + trap '' TSTP # ignore ctrl + z export MAIN_PID="$$"