diff --git a/scripts/pegasus_rolling_update.sh b/scripts/pegasus_rolling_update.sh index 62ed4e66a0..27d505ec95 100755 --- a/scripts/pegasus_rolling_update.sh +++ b/scripts/pegasus_rolling_update.sh @@ -18,6 +18,11 @@ if [ $# -le 3 ]; then exit 1 fi +if [ -z ${TMUX} ]; then + echo "ERROR: This script must be run in a tmux session" + exit 1 +fi + update_options="--update_package --update_config" cluster=$1