[[ -n "$TAG" ]] && echo "Running jobs tagged with \"$TAG\"."
echo
-trap GotSignal SIGINT
-
if [ $# -ge 1 ]; then
for s in "$@"; do
if [ ! -r "${conf_d}/$s" ]; then
sh -c $setup_exec
if [ $? -ne 0 ]; then
echo "Error: setup command failed!"; echo
- CleanUp
echo "Aborting backup."; echo
exit 5
fi
echo
fi
+trap GotSignal SIGINT
+
# check and create PID file
if [ -e "$PIDFILE" ]; then
echo "Lockfile \"$PIDFILE\" already exists."