diff options
Diffstat (limited to 'share/hackvr/examples/hackvrd/hackvr-subsystem')
-rwxr-xr-x | share/hackvr/examples/hackvrd/hackvr-subsystem | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/hackvr/examples/hackvrd/hackvr-subsystem b/share/hackvr/examples/hackvrd/hackvr-subsystem index ad99b84..024a896 100755 --- a/share/hackvr/examples/hackvrd/hackvr-subsystem +++ b/share/hackvr/examples/hackvrd/hackvr-subsystem @@ -1,5 +1,7 @@ #!/bin/bash +set -o pipefail + if [ "$1" ];then derp="$USER action $1" fi -cat <(echo $derp) /dev/stdin | ncat 127.0.0.1 1337 +cat <(echo $derp) /dev/stdin | socat tcp-connect:127.0.0.1:1337,null-eof stdio |