summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xradar-base.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/radar-base.sh b/radar-base.sh
index 63b2b98..1bbefbd 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
}