Hey wait we do the same thing like 6 lines down

This commit is contained in:
Salt 2020-10-04 07:59:55 -05:00
parent f74783a659
commit 85b39fba5c

View File

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