Updated functions to provide code 200
for un-coded circumstances
This commit is contained in:
parent
85ace3d5fd
commit
bcf5d079a1
@ -216,7 +216,8 @@ function checkExist {
|
|||||||
quit 102
|
quit 102
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
return 105
|
# this code shouldn't be executed, provide checkable return code
|
||||||
|
return 200
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -240,8 +241,8 @@ function ncMaint {
|
|||||||
maintResult="$?"
|
maintResult="$?"
|
||||||
return $maintResult
|
return $maintResult
|
||||||
else
|
else
|
||||||
# this code shouldn't be executed, so note the situation for debugging
|
# this code shouldn't be executed, provide checkable return code
|
||||||
return 901
|
return 200
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
### End of functions
|
### End of functions
|
||||||
|
Loading…
Reference in New Issue
Block a user