summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalwebgallerydaemon2
1 files changed, 1 insertions, 1 deletions
diff --git a/localwebgallerydaemon b/localwebgallerydaemon
index 17d61f2..7ae546b 100755
--- a/localwebgallerydaemon
+++ b/localwebgallerydaemon
@@ -113,7 +113,7 @@ case $generator in
esac
# Static defaults
-lazygal_opts="--quiet --check-all-dirs --clean-destination ${THEME:+--theme $THEME}"
+lazygal_opts="--quiet --check-all-dirs --clean-destination ${THEME:+--theme $theme}"
# Sanity checks
[ -d "$sourcedir" ] || exit1 "Source directory \"$sourcedir\" is not a directory"