]> git.lizzy.rs Git - micro.git/commitdiff
Fix compile error
authorZachary Yedidia <zyedidia@gmail.com>
Mon, 22 Jan 2018 22:32:30 +0000 (17:32 -0500)
committerZachary Yedidia <zyedidia@gmail.com>
Mon, 22 Jan 2018 22:32:30 +0000 (17:32 -0500)
cmd/micro/shell.go

index 88a8c656b8530b64e41a8058852c49dfc99d9aab..3e9e4acab2b9f862cd0ca98b92632d8d65f0fafd 100644 (file)
@@ -123,6 +123,7 @@ func HandleShellCommand(input string, openTerm bool, waitToFinish bool) string {
                RunBackgroundShell(input)
                return ""
        } else {
-               return RunInteractiveShell(input, waitToFinish, false)
+               output, _ := RunInteractiveShell(input, waitToFinish, false)
+               return output
        }
 }