You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The output of the ps x | ... command is not checked to see if a PID was actually retrieved. This can happen with a command that is long enough that the $shellId doesn't appear because it's only using ps x instead of ps wwx.
You could also eliminate the use of grep by making it: ps wwx | awk '/$shellId/ && !/awk/ {print \$1; exit}'
The output of the
ps x | ...
command is not checked to see if a PID was actually retrieved. This can happen with a command that is long enough that the$shellId
doesn't appear because it's only usingps x
instead ofps wwx
.You could also eliminate the use of grep by making it:
ps wwx | awk '/$shellId/ && !/awk/ {print \$1; exit}'
deployer/src/Component/Ssh/Client.php
Lines 96 to 99 in 51e8e82
The text was updated successfully, but these errors were encountered: