Just like under Windows, cleanup_exit() shouldn't need to check
[u/mdw/putty] / unix / uxcons.c
index 579178c..c172b0a 100644 (file)
@@ -25,10 +25,7 @@ void cleanup_exit(int code)
      * Clean up.
      */
     sk_cleanup();
-
-    if (cfg.protocol == PROT_SSH)
-       random_save_seed();
-
+    random_save_seed();
     exit(code);
 }