aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/usernetctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usernetctl.c b/src/usernetctl.c
index 5a228bdc..fd28b411 100644
--- a/src/usernetctl.c
+++ b/src/usernetctl.c
@@ -155,7 +155,7 @@ int main(int argc, char ** argv) {
ifaceConfig = temp;
}
-
+ if(getuid() != 0)
switch (userCtl(ifaceConfig)) {
char *dash;