X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jenkins-init-scripts%2Fcreate-swap-file.sh;h=8090bce6c7399921e1395d61be3f83171943d659;hb=d1e8579fac0f3a0aeba74f70b27a06ab3fdad54f;hp=6f077388b84c7a8b4e71dcf6306bec80458294f9;hpb=a3b2a2ca304c3958f3a4bb214855872d6eae61d4;p=releng%2Fglobal-jjb.git diff --git a/jenkins-init-scripts/create-swap-file.sh b/jenkins-init-scripts/create-swap-file.sh index 6f077388..8090bce6 100755 --- a/jenkins-init-scripts/create-swap-file.sh +++ b/jenkins-init-scripts/create-swap-file.sh @@ -19,7 +19,7 @@ blockCount=${SWAP_SIZE-''} # Else: No Swap case $blockCount in '') blockCount=1 ;; - [0-9]*) blockCount=$blockCount ;; + [0-9]*) ;; *) exit ;; esac [[ $blockCount == 0 ]] && exit