Replace exitIfRunning with running

This commit is contained in:
2022-05-29 22:57:58 +02:00
parent cd0bffbb31
commit 55a9243b57

View File

@@ -49,7 +49,10 @@ step_10_info() {
} }
step_10_alias() { echo "updateip"; } step_10_alias() { echo "updateip"; }
step_10() { step_10() {
exitIfRunning if running ; then
error "$toolName already running"
return 1
fi
shift shift
local retryCount=$publicIpRetry local retryCount=$publicIpRetry
local ipUpdater local ipUpdater