summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index c9f855c8..d367232d 100644
--- a/main.cxx
+++ b/main.cxx
@@ -610,6 +610,7 @@ main (int argc, char * const argv [])
case 'g':
s.guru_mode = true;
+ s.unprivileged = false;
break;
case 'P':
@@ -752,6 +753,7 @@ main (int argc, char * const argv [])
break;
case LONG_OPT_UNPRIVILEGED:
s.unprivileged = true;
+ s.guru_mode = false;
break;
default:
cerr << "Internal error parsing command arguments." << endl;