fix return in subkey_to_ssh_agent, so that it returns, instead of exits
authorJameson Graef Rollins <jrollins@finestructure.net>
Sat, 21 Feb 2009 20:39:44 +0000 (15:39 -0500)
committerJameson Graef Rollins <jrollins@finestructure.net>
Sat, 21 Feb 2009 20:39:44 +0000 (15:39 -0500)
src/share/m/subkey_to_ssh_agent

index a2cf9a0c5b42d9ad13a255e090ba8f2448a80cdc..7fb2fdb302e98f341a36858eedafcb219599ce0f 100644 (file)
@@ -110,5 +110,5 @@ You might want to 'monkeysphere gen-subkey'"
     # FIXME: sort out the return values: we're just returning the
     # success or failure of the final authentication subkey in this
     # case.  What if earlier ones failed?
-    exit "$keysuccess"
+    return "$keysuccess"
 }