pedantic.software repositories

fix/improve qirc_wrapper

Authored:Sylvain Gauthier13/09/2021 19:05:27 +1000
Committed:Sylvain Gauthier13/09/2021 19:05:27 +1000

Diff with parent commit

File changed 100755 /qirc_wrapper old new
@@ -18,7 +18,9 @@
     fi
     sleep 1
 done &
+PID="$!"
 
-./qirc "$1" "$2" "$3"
+qirc "$1" "$2" "$3"
 
 rm -f "$SOCKET"
+kill "$PID"