diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:50:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:23 +0100 |
commit | bb1f32a6d46607412fd92912568f2992a238c821 (patch) | |
tree | 9cc9f5a0f345c6c97e851a0dfc98be550f4844c2 | |
parent | 26d44bcd61f66c8699b791d0cc7db96335c67f25 (diff) |
init.sh: Silence the output of git config --global
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/init.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/init.sh b/include/init.sh index b9df34bb..8f5ab059 100644 --- a/include/init.sh +++ b/include/init.sh @@ -148,8 +148,8 @@ xbmk_set_version() xbmk_git_init() { for gitarg in "--global user.name" "--global user.email"; do - gitcmd="git config $gitarg"; $gitcmd || err \ - "Please run this first: $gitcmd \"your ${gitcmd##*.}\"" + gitcmd="git config $gitarg"; $gitcmd 1>/dev/null 2>/dev/null \ + || err "Run this first: $gitcmd \"your ${gitcmd##*.}\"" done [ -L ".git" ] && return 1 |