diff options
author | Přemysl Janouch <p@janouch.name> | 2018-11-03 15:01:19 +0100 |
---|---|---|
committer | Přemysl Janouch <p@janouch.name> | 2018-11-03 15:01:19 +0100 |
commit | c065238e757758d6ad8769e1f8a7909ed6875587 (patch) | |
tree | 1d637e5a7a7a8380c9205f476c8e26ba8832e52d | |
parent | 579e4c9a34b98059530f08133b77f4ab44a60e91 (diff) | |
download | sdn-c065238e757758d6ad8769e1f8a7909ed6875587.tar.gz sdn-c065238e757758d6ad8769e1f8a7909ed6875587.tar.xz sdn-c065238e757758d6ad8769e1f8a7909ed6875587.zip |
Reliability improvement
-rw-r--r-- | sdn.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1430,7 +1430,9 @@ int main (int argc, char *argv[]) { if (g.cwd != g.start_dir && !g.no_chdir) cout << "local cd=" << shell_escape (g.cwd) << endl; - if (!g.chosen.empty ()) - cout << "local insert=" << shell_escape (g.chosen) << endl; + else + cout << "local cd=" << endl; + + cout << "local insert=" << shell_escape (g.chosen) << endl; return 0; } |