[gnome-commander/gcmd-1-2-8] Fix for problem with starting gnome-commander as root
- From: Piotr Eljasiak <epiotr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/gcmd-1-2-8] Fix for problem with starting gnome-commander as root
- Date: Sat, 9 Apr 2011 15:15:53 +0000 (UTC)
commit 5e0a328c14c1ee32b12efe7df7b390d309750feb
Author: Daniel R. Avalos <avalosdanielr gmx com>
Date: Sat Apr 9 17:14:41 2011 +0200
Fix for problem with starting gnome-commander as root
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 122b8d1..caca3ea 100644
--- a/src/gnome-cmd-user-actions.cc
+++ b/src/gnome-cmd-user-actions.cc
@@ -1128,9 +1128,9 @@ void command_root_mode (GtkMenuItem *menuitem, gpointer not_used)
int i = 0;
argv[i++] = su;
- argv[i++] = g_get_prgname ();
if (need_c)
argv[i++] = "-c";
+ argv[i++] = g_get_prgname ();
argv[i++] = NULL;
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]