Commit fed159bf authored by Peter Palfrader's avatar Peter Palfrader

add to git: acquire a reboot lock on import-runs

parent 2f2e042b
#!/bin/sh
#!/bin/bash
set -e
set -u
......@@ -24,6 +24,12 @@ else
verbose=""
fi
lock=/var/run/reboot-lock
exec 203< "$lock"
if ! flock --shared 203; then
echo >&2 "Warning: Cannot acquire reboot lock."
fi
archive="${1:-""}"
#IGNORES="--ignore /Archive-Update-in-Progress-stabile.debian.org --ignore /Archive-Update-Required-stabile.debian.org"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment