[gnome-commander] open_terminal_as_root: do not discard child's standard error
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] open_terminal_as_root: do not discard child's standard error
- Date: Sun, 2 Jan 2011 21:28:55 +0000 (UTC)
commit 930d62ac23415455c16e295d7bedc68c8c588a34
Author: Piotr Eljasiak <epiotr src gnome org>
Date: Sun Jan 2 22:28:43 2011 +0100
open_terminal_as_root: do not discard child's standard error
src/gnome-cmd-user-actions.cc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnome-cmd-user-actions.cc b/src/gnome-cmd-user-actions.cc
index b3e94ec..209e74e 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1206,7 +1206,7 @@ void command_open_terminal_as_root (GtkMenuItem *menuitem, gpointer not_used)
gchar *dpath = GNOME_CMD_FILE (get_fs (ACTIVE)->get_directory())->get_real_path();
GError *error = NULL;
- if (!g_spawn_async (dpath, argv, NULL, GSpawnFlags (G_SPAWN_STDOUT_TO_DEV_NULL | G_SPAWN_STDERR_TO_DEV_NULL), NULL, NULL, NULL, &error))
+ if (!g_spawn_async (dpath, argv, NULL, G_SPAWN_STDOUT_TO_DEV_NULL, NULL, NULL, NULL, &error))
gnome_cmd_error_message (_("Unable to open terminal in root mode"), error);
g_free (dpath);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]