summaryrefslogtreecommitdiff
path: root/update-archlinux32-package
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-10-04 08:09:32 +0200
committerErich Eckner <git@eckner.net>2018-10-04 08:09:32 +0200
commita593f78fa87d18d72a8a3c51157f00c9cedf4d7b (patch)
tree012aa3cf5466d4412bea19e79d807a6647a27922 /update-archlinux32-package
parentd437d3f03e7b2788f7efbe6c8cac16fd2f1cb315 (diff)
downloaddevops-a593f78fa87d18d72a8a3c51157f00c9cedf4d7b.tar.xz
update-archlinux32-package: exit code 255 is ok for running poweroff via ssh
Diffstat (limited to 'update-archlinux32-package')
-rwxr-xr-xupdate-archlinux32-package5
1 files changed, 5 insertions, 0 deletions
diff --git a/update-archlinux32-package b/update-archlinux32-package
index 33c9549..ae17d69 100755
--- a/update-archlinux32-package
+++ b/update-archlinux32-package
@@ -113,4 +113,9 @@ git -C "${git_repo_path}" commit -m "${repo}/${pkgname}: ${old_pkgver} -> ${new_
if ! ${vm_is_running}; then
ssh arch32-test 'sudo poweroff'
+ err=$?
+ if [ ${err} -eq 255 ]; then
+ err=0
+ fi
+ exit ${err}
fi