Fixed bug where history did not have newline
[clearscm.git] / bin / setbg
index ffcefda..8de93c6 100755 (executable)
--- a/bin/setbg
+++ b/bin/setbg
@@ -157,7 +157,7 @@ sub writeHistory($msg) {
 
   $msg = localtime() . $msg;
 
-  print $hist $msg;
+  print $hist "$msg\n";
 
   close $hist;
 } # writeHistory