diff options
-rwxr-xr-x | radar-base.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh index 2a862c5..b7074d8 100755 --- a/radar-base.sh +++ b/radar-base.sh @@ -95,7 +95,7 @@ fetch() { commit_short_sha() { if is_repo; then - printf '%s' "$(git rev-parse --short HEAD)" + printf '%s' "$(git rev-parse --short HEAD 2>/dev/null)" fi } |