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