diff options
author | Nalin Dahyabhai <nalin@redhat.com> | 2000-10-10 16:29:44 +0000 |
---|---|---|
committer | Nalin Dahyabhai <nalin@redhat.com> | 2000-10-10 16:29:44 +0000 |
commit | c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f (patch) | |
tree | 90ccd9c12e302d96193b0a2e090da53959b9111f /src/usernetctl.c | |
parent | 5d49535ed95db82dd418f984dad94f9befa330a3 (diff) | |
download | initscripts-c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f.tar initscripts-c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f.tar.gz initscripts-c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f.tar.bz2 initscripts-c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f.tar.xz initscripts-c9ad8becf6158a64f49e92d8b52f7cdcff2edb1f.zip |
make usernetctl just fall-through if getuid() == 0
Diffstat (limited to 'src/usernetctl.c')
-rw-r--r-- | src/usernetctl.c | 2 |
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; |