Skip to content

Commit

Permalink
remove spaces in ps output
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderHems authored and flaupretre committed Oct 8, 2023
1 parent 0d0a779 commit a8eec3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [ -z "$TUNNEL_TF_PID" ] ; then
if ps_is_busybox ; then
p=$PPID
else
p=$(ps p $PPID -o "ppid=")
p=$(ps p $PPID -o "ppid=" | sed 's/ //g')
fi
clog=$(mktemp)
nohup timeout "$TUNNEL_TIMEOUT" "$TUNNEL_SHELL_CMD" "$TUNNEL_ABSPATH/tunnel.sh" "$p" <&- >&- 2>"$clog" &
Expand Down

0 comments on commit a8eec3c

Please sign in to comment.