Exit with correct status.
[utils.git] / rsc
diff --git a/rsc b/rsc
index a84668d..32b2b81 100755 (executable)
--- a/rsc
+++ b/rsc
@@ -36,6 +36,5 @@ if($ARGV[0] eq "-s") {
     }
     close SSH;
     waitpid $pid, 0;
+    exit $?;
 }
-
-