From 8216f7af01c5a2e8bf12019653a943144366bc96 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 22 Jun 2019 02:39:46 -0500 Subject: [PATCH] Change log/err invocations --- firestarter | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/firestarter b/firestarter index a413b1a..0eb20d3 100755 --- a/firestarter +++ b/firestarter @@ -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