Skip to content

Commit

Permalink
Omit output of tee command in add_line_if_missing()
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Jul 15, 2024
1 parent b7330d2 commit b85ea11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InstallControllerBuddy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ if [ ! -f "$1" ] || ! grep -qxF "$2" "$1"
then
log "Adding missing line '$2' to file '$1'..."
check_sudo_privileges
echo "$2" | sudo tee -a "$1"
echo "$2" | sudo tee -a "$1" >/dev/null 2>/dev/null
check_retval "Error: Failed to write $1"
REBOOT_REQUIRED=true
fi
Expand Down

0 comments on commit b85ea11

Please sign in to comment.