Skip to content

Commit

Permalink
bootstrap: show logs when sudoers_add_users fails
Browse files Browse the repository at this point in the history
  • Loading branch information
davidandreoletti committed Mar 13, 2024
1 parent eacf730 commit 5f736ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions install/common/shell/sudoers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function sudoers_add_user() {
if grep "bad permission" "${stderr_file}"; then
rm -fv "$stderr_file"
else
cat "$stderr_file"
exit 1
fi
fi
Expand Down

0 comments on commit 5f736ce

Please sign in to comment.