about summary refs log tree commit diff stats
path: root/check_new_clinte_posts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'check_new_clinte_posts.sh')
-rwxr-xr-xcheck_new_clinte_posts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_new_clinte_posts.sh b/check_new_clinte_posts.sh
index 1d2dfbe..658d3be 100755
--- a/check_new_clinte_posts.sh
+++ b/check_new_clinte_posts.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 LOCAL_FILE="$HOME/.clinte.json"
-LOCAL_HASH=$(sha256sum "$LOCAL_FILE" | cut -d' ' -f1)
+LOCAL_HASH=$(sha256sum "$LOCAL_FILE" 2>/dev/null | cut -d' ' -f1)
 
 DBFILE="/usr/local/clinte/clinte.json"
 DBFILE_HASH=$(sha256sum "$DBFILE" | cut -d' ' -f1)