Index: /trunk/Ohana/src/opihi/lib.shell/opihi.c
===================================================================
--- /trunk/Ohana/src/opihi/lib.shell/opihi.c	(revision 13503)
+++ /trunk/Ohana/src/opihi/lib.shell/opihi.c	(revision 13504)
@@ -41,5 +41,5 @@
       status = multicommand (line);
       add_history (line);
-      append_history (1, history);
+      if (history != NULL) append_history (1, history);
     }
     free (line);
