Reliability improvement

This commit is contained in:
Přemysl Eric Janouch 2018-11-03 15:01:19 +01:00
parent 579e4c9a34
commit c065238e75
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -1430,7 +1430,9 @@ int main (int argc, char *argv[]) {
if (g.cwd != g.start_dir && !g.no_chdir) if (g.cwd != g.start_dir && !g.no_chdir)
cout << "local cd=" << shell_escape (g.cwd) << endl; cout << "local cd=" << shell_escape (g.cwd) << endl;
if (!g.chosen.empty ()) else
cout << "local insert=" << shell_escape (g.chosen) << endl; cout << "local cd=" << endl;
cout << "local insert=" << shell_escape (g.chosen) << endl;
return 0; return 0;
} }