diff --git a/firestarter b/firestarter index de4018b..74b620b 100755 --- a/firestarter +++ b/firestarter @@ -285,7 +285,7 @@ step_check() { # If it's not our session then who cares [ "$_sessionid" != "$(< "/proc/$pid/sessionid")" ] && continue if [ "$pid" != "$BASHPID" ]; then - err "Firestarter is already running" 40 + err "Firestarter is already running: $pid" 40 fi done fi @@ -371,7 +371,7 @@ step_execute() { # Ensure we have a config directory if ! [ -d "$_configdir" ]; then if ! mkdir -p "$_configdir" > /dev/null 2>&1; then - err "Failed to create configuration directory \"$_configdir\"" 52 + err "Failed to create configuration directory: \"$_configdir\"" 52 fi fi # Ensure we can log if we have to @@ -379,7 +379,7 @@ step_execute() { log "No logs will be created per FS_NOLOG" elif ! [ -d "$_logdir" ]; then if ! mkdir -p "$_logdir" > /dev/null 2>&1; then - err "Failed to create log directory \"$_logdir\"" 53 + err "Failed to create log directory: \"$_logdir\"" 53 fi fi # Parse configs