Skip to content

Commit 3ad8b0d

Browse files
henrybarretogustavosbarreto
authored andcommitted
fix(install): use sh instead of bash on timeout command to standalone install
1 parent b9148cc commit 3ad8b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ standalone_install() {
145145
echo "If it takes too long, please check the logs with the command:"
146146
echo "journalctl -f -u shellhub-agent"
147147

148-
timeout 15s bash -c '
148+
timeout 15s sh -c '
149149
journalctl -f -u shellhub-agent --since "$(systemctl show -p ActiveEnterTimestamp shellhub-agent | cut -d= -f2)" | while read -r line; do
150150
if echo "$line" | grep -Eq "Listening for connections"; then
151151
echo "✅ Success: $line"

0 commit comments

Comments
 (0)