fix return in subkey_to_ssh_agent, so that it returns, instead of exits
[monkeysphere.git] / 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"
 }