~gbmor/clinte

15006ab61d19a2481ba93d24d3adc7c7e007543a — Ben Morrison 1 year, 3 days ago 1e51bf9
redirecting stderr to /dev/null

stops an error if a user has never used clinte
1 files changed, 1 insertions(+), 1 deletions(-)

M check_new_clinte_posts.sh
M check_new_clinte_posts.sh => check_new_clinte_posts.sh +1 -1
@@ 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)