Skip to content

Commit 1bbc89e

Browse files
Fix shellcheck error
1 parent e838237 commit 1bbc89e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmdlib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ else
1515
export SUDO=
1616
export SUDO_W_ENV=
1717
fake-sudo() {
18+
# pass thru the exit code implicitly
1819
set -e
19-
$*
20+
"$@"
2021
}
2122
export -f fake-sudo
2223
# Spoof 'sudo' in the environment to go to our wrapper that does nothing instead, including a sudo_w_env that drops the -E options as well.

0 commit comments

Comments
 (0)