Skip to content

Commit

Permalink
Merge pull request #12 from oswalpalash/patch-1
Browse files Browse the repository at this point in the history
Check if PLAIN_WORK is initialized before using
  • Loading branch information
smallkirby authored Apr 23, 2024
2 parents 1e731f9 + fc63eb3 commit a044b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/fs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function compress_filesystem() {
fi

# copy Drothea and Ingrid
if [ "$PLAIN_WORK" -ne 1 ]; then
if [ -z "$PLAIN_WORK" ] || [ "$PLAIN_WORK" -ne 1 ]; then
for f in "drothea" "ingrid"; do
echo $f
if [ -f $f ]; then
Expand Down

0 comments on commit a044b79

Please sign in to comment.