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
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}