summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/knocker/files/knocker-0.7.1-knocker_user_is_root.patch')
-rw-r--r--net-analyzer/knocker/files/knocker-0.7.1-knocker_user_is_root.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-analyzer/knocker/files/knocker-0.7.1-knocker_user_is_root.patch b/net-analyzer/knocker/files/knocker-0.7.1-knocker_user_is_root.patch
new file mode 100644
index 000000000000..d93136b2f255
--- /dev/null
+++ b/net-analyzer/knocker/files/knocker-0.7.1-knocker_user_is_root.patch
@@ -0,0 +1,11 @@
+--- a/src/knocker_user.c
++++ b/src/knocker_user.c
+@@ -82,7 +82,7 @@
+ _dir_create (user->dir);
+ }
+
+- if (knocker_user_is_root)
++ if (knocker_user_is_root())
+ user->super = 1;
+ else
+ user->super = 0;