mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
subshell.c: changed printf message into stserr to the vfs_print_message
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
This commit is contained in:
parent
490af62655
commit
4267c04b69
@ -1239,7 +1239,7 @@ do_subshell_chdir (const char *directory, gboolean update_prompt, gboolean reset
|
|||||||
if (bPathNotEq && strcmp (pcwd, "."))
|
if (bPathNotEq && strcmp (pcwd, "."))
|
||||||
{
|
{
|
||||||
char *cwd = strip_password (g_strdup (pcwd), 1);
|
char *cwd = strip_password (g_strdup (pcwd), 1);
|
||||||
fprintf (stderr, _("Warning: Cannot change to %s.\n"), cwd);
|
vfs_print_message (_("Warning: Cannot change to %s.\n"), cwd);
|
||||||
g_free (cwd);
|
g_free (cwd);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user