Skip to content

Commit 872e008

Browse files
committed
fix: ensure trap exits with 0 to prevent terminal red indicator
1 parent f6ae1bd commit 872e008

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hooks.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ echo "Some installations require admin privileges."
1717
sudo -v
1818
( while true; do sudo -n true; sleep 50; done ) 2>/dev/null &
1919
SUDO_KEEPALIVE_PID=\$!
20-
trap 'kill \$SUDO_KEEPALIVE_PID 2>/dev/null; rm -f "\$OPENBOOT_BIN"' EXIT
20+
trap 'kill \$SUDO_KEEPALIVE_PID 2>/dev/null; rm -f "\$OPENBOOT_BIN"; true' EXIT
2121
2222
install_xcode_clt() {
2323
if xcode-select -p &>/dev/null; then

0 commit comments

Comments
 (0)