diff --git a/cluster/sge.disable.host.queue.sh b/cluster/sge.disable.host.queue.sh index 3d6c5e0..193e8d3 100755 --- a/cluster/sge.disable.host.queue.sh +++ b/cluster/sge.disable.host.queue.sh @@ -8,6 +8,9 @@ readonly NBARGS="${#}" ## Test if DEBUG is already defined (by parent script,…) [ -z "${DEBUG}" ] && DEBUG=1 +## Disable FORCE_MODE by default +FORCE_MODE=1 + ## Colors readonly PURPLE='\033[1;35m' readonly RED='\033[0;31m' @@ -313,6 +316,9 @@ if [ ! "${NBARGS}" -eq "0" ]; then -d|--debug ) ## debug DEBUG=0 ;; + -f|--force ) ## Force to disable SGE queue + FORCE_MODE=0 + ;; --help ) ## help usage ## Exit after help informations