about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xhm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh b/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh
index 436a3bc5..ed744ccb 100755
--- a/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh
+++ b/hm/soispha/pkgs/scripts/specific/ytcc/filter_comments.sh
@@ -6,6 +6,7 @@ SHELL_LIBRARY_VERSION="1.10.2" . %SHELL_LIBRARY_PATH
 # This is the symlink to the active info.json
 file="$XDG_RUNTIME_DIR/ytcc/running";
 
+[ -e "$file" ] || die "No currently running instance found!"
 
 nest_comments.py "$file" | jq --raw-output -f %JQ_PREPROCCESSOR_SCRIPT | fmt -u -s --width=90 | less -r