Franziska Kunsmann
3adfb9779a
All checks were successful
bundlewrap/pipeline/head This commit looks good
9 lines
228 B
Bash
9 lines
228 B
Bash
#!/bin/bash
|
|
|
|
# Checks wether upgrade-and-reboot is currently running.
|
|
|
|
if [[ -f "/var/lib/bundlewrap/soft-${node.name}/UNATTENDED" ]]
|
|
then
|
|
echo "Sorry, can't $MOLLYGUARD_CMD now, upgrade-and-reboot is running"
|
|
exit 1
|
|
fi
|