Fixed bug where history did not have newline
authorAndrew DeFaria <A.DeFaria@cpanel.net>
Mon, 19 Sep 2022 23:59:47 +0000 (16:59 -0700)
committerAndrew DeFaria <A.DeFaria@cpanel.net>
Mon, 19 Sep 2022 23:59:47 +0000 (16:59 -0700)
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