Replace exitIfRunning with running
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user