summaryrefslogtreecommitdiff
path: root/src/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 0859034..1bd663e 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -36,7 +36,7 @@ public:
/**
* Use NOBODY_GROUP and NOBODY_USER if no privileges are needed to run.
*/
- int run(uid_t uid, gid_t gid);
+ int run(const char* user, const char* group);
private:
virtual int daemon_main() = 0;