summaryrefslogtreecommitdiff
path: root/gemfeed
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-15 13:59:43 +0200
committerPaul Buetow <paul@buetow.org>2024-12-15 13:59:43 +0200
commiteeab9aeff9bb387cb8dbe435d6f5508c63154b7c (patch)
treec928e4f326cc6fc23afab51480a3145fb24dc928 /gemfeed
parent958b072396d08b5a96c31dea9e7bd8ea4514a493 (diff)
fix
Diffstat (limited to 'gemfeed')
-rw-r--r--gemfeed/2024-12-15-random-helix-themes.gmi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gemfeed/2024-12-15-random-helix-themes.gmi b/gemfeed/2024-12-15-random-helix-themes.gmi
index 0c230c3d..96e2ff88 100644
--- a/gemfeed/2024-12-15-random-helix-themes.gmi
+++ b/gemfeed/2024-12-15-random-helix-themes.gmi
@@ -20,6 +20,7 @@ editor::helix::random_theme () {
local -r theme_dir=/usr/share/helix/runtime/themes
if [ ! -d $theme_dir ]; then
echo "Helix theme dir $theme_dir doesnt exist"
+ return 1
fi
local -r config_file=$HELIX_CONFIG_DIR/config.toml