summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtessen4
1 files changed, 2 insertions, 2 deletions
diff --git a/tessen b/tessen
index e6855c6..c1b98ce 100755
--- a/tessen
+++ b/tessen
@@ -214,7 +214,7 @@ validate_clip_time() {
if [[ "$CLIP_TIME" =~ $clip_regex ]]; then
return 0
else
- notify-send "invalid clipboard time provided"
+ printf '%s\n' "invalid clipboard time provided" >&2
exit 1
fi
}
@@ -238,7 +238,7 @@ main() {
# exit if the password store directory doesn't exist
if ! [[ -d "$PREFIX" ]]; then
- notify-send "password store not found"
+ printf '%s\n' "password store not found" >&2
exit 1
fi