Exit with correct status.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 6 Aug 2007 03:59:24 +0000 (03:59 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Mon, 6 Aug 2007 03:59:24 +0000 (03:59 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1092 959494ce-11ee-0310-bf91-de5d638817bd

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 $?;
 }
-
-