]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/commitdiff
fetch-hudson: Ignore exit status 25 due to --max-delete limit
authorLizhou Sha <slz@mit.edu>
Wed, 11 Apr 2018 22:18:58 +0000 (18:18 -0400)
committerLizhou Sha <slz@mit.edu>
Wed, 11 Apr 2018 22:18:58 +0000 (18:18 -0400)
fetch-hudson

index 3a18fde4dfb78b1bfc0ab665b9f319ed318db954..0bb95a467b41824fd1eac487c44553dae2efe864 100755 (executable)
@@ -33,4 +33,8 @@ date +"Starting $scriptname: %c"
 
 exitstatus=$?
 date +"Done: %c"
+if [[ $exitstatus -eq 25 ]]; then
+    echo "Error code $exitstatus ignored."
+    exit 0
+fi
 exit $exitstatus