diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:50:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:50:50 +0100 |
commit | 35265731c5b1bfef4bd4e94722c67be8284c7d64 (patch) | |
tree | 35c5fe53f81985b427df5ecc9910398ebe2a4cb5 /include | |
parent | 5e3aaa1eb8b6f0198723ca67cda07b0990744132 (diff) |
init.sh: Silence the output of git config --global
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-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 |