diff options
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-x | build-all-with-docker | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build-all-with-docker b/build-all-with-docker index d012b19a0..aae8676a8 100755 --- a/build-all-with-docker +++ b/build-all-with-docker @@ -2,6 +2,12 @@ cd "$(dirname "$(readlink -e "$0")")" +shutdownasap_progress=$(shutdownasap -g || echo 'none') +if [ "${shutdownasap_progress" != 'none' ]; then + >&2 printf 'shutdownasap in progress: %s\n' "${shutdownasap_state}" + exit 1 +fi + if [ $# -eq 1 ] \ && [ -z "${1##*/PKGBUILD}" ] \ && [ -f "$1" ]; then |