Refactor
This commit is contained in:
parent
af8e58b646
commit
9ef49db8de
|
@ -30,9 +30,7 @@ printAndExit() {
|
|||
}
|
||||
|
||||
exitIfCancel() {
|
||||
if [ $? -eq 1 ]; then
|
||||
printAndExit "$@"
|
||||
fi
|
||||
[ $? -eq 1 ] && printAndExit "$@"
|
||||
}
|
||||
|
||||
printWaitBox() {
|
||||
|
|
Loading…
Reference in New Issue