Change log/err invocations
This commit is contained in:
parent
22fd36b2b2
commit
8216f7af01
@ -464,6 +464,8 @@ step_execute() {
|
|||||||
if [ -z "$_dryrun" ]; then
|
if [ -z "$_dryrun" ]; then
|
||||||
"$file" > "$logfile" 2>&1 &
|
"$file" > "$logfile" 2>&1 &
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
err "Could not execute file: \"$filename\""
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -489,7 +491,7 @@ step_postexecute() {
|
|||||||
elif has xdg-autostart; then
|
elif has xdg-autostart; then
|
||||||
xdg-autostart ${XDG_CURRENT_DESKTOP:-firestarter}
|
xdg-autostart ${XDG_CURRENT_DESKTOP:-firestarter}
|
||||||
else
|
else
|
||||||
log "Could not find an XDG autostarter"
|
err "Could not find an XDG autostarter"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
# Source in a user script if it exists
|
# Source in a user script if it exists
|
||||||
@ -510,7 +512,7 @@ step_wait() {
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
log "Could not find WM: \"$target\""
|
err "Could not find WM: \"$target\""
|
||||||
fi
|
fi
|
||||||
log "Waiting for programs to exit"
|
log "Waiting for programs to exit"
|
||||||
wait
|
wait
|
||||||
|
Loading…
Reference in New Issue
Block a user