Hey wait we do the same thing like 6 lines down
This commit is contained in:
parent
f74783a659
commit
85b39fba5c
@ -301,12 +301,6 @@ step_preexecute() {
|
||||
[ -n "$_optdryrun" ] && return 0
|
||||
# Execute a user rc if it exists
|
||||
[ -r "$HOME/.firestarterrc" ] && . "$HOME/.firestarterrc"
|
||||
# Ensure we have a log directory
|
||||
if ! [ -d "$_optlogdir" ]; then
|
||||
if ! mkdir -p "$_optlogdir" >/dev/null 2>&1; then
|
||||
error "Failed to create log directory: \"$_optlogdir\"" 53
|
||||
fi
|
||||
fi
|
||||
[ -n "$FIRESTARTER" ] && [ "$FIRESTARTER_DISPLAY" == "$DISPLAY" ] && error "Firestarter is already running on $DISPLAY: $FIRESTARTER" 55
|
||||
export FIRESTARTER="$BASHPID"
|
||||
export FIRESTARTER_DISPLAY="$DISPLAY"
|
||||
|
Loading…
Reference in New Issue
Block a user