Change log/err invocations

This commit is contained in:
Salt 2019-06-22 02:39:46 -05:00
parent 22fd36b2b2
commit 8216f7af01

View File

@ -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