From 1206f6ad808be4becb593bd447caf4dc4e44cedb Mon Sep 17 00:00:00 2001 From: Michael Allen Date: Mon, 23 Feb 2015 16:35:27 +0000 Subject: quieten the stat call --- git-base.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-base.sh') diff --git a/git-base.sh b/git-base.sh index 7024161..254a306 100755 --- a/git-base.sh +++ b/git-base.sh @@ -62,7 +62,7 @@ record_timestamp() { timestamp() { if is_repo; then - echo "$(stat -f%m "$(dot_git)/lastupdatetime" || echo "0")" + echo "$(stat -f%m "$(dot_git)/lastupdatetime" 2>/dev/null || echo "0")" fi } -- cgit v1.2.3