Commit Diff
Diff:
352f5d30482a64fca0d0648b70d2e5b96a5690cc
0b86251e2c6f303b246aa548c8e649d7d8e0ac11
Commit:
0b86251e2c6f303b246aa548c8e649d7d8e0ac11
Tree:
8195a1ff4455c6e54bd42e25dfbef80c89cc0501
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Sat Jun 23 05:04:54 2018 UTC
Message:
last commit was not complete, this fixes it
blob - 43c8e36eb4e7b715a88b50e8d8c286d0f153949c
blob + 90650ac6b516d120a3acbc2f09c6138fc5fee586
--- dddctl.c
+++ dddctl.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: dddctl.c,v 1.14 2018/06/23 05:03:04 pjp Exp $
+ * $Id: dddctl.c,v 1.15 2018/06/23 05:04:54 pjp Exp $
*/
#include "ddd-include.h"
@@ -7025,13 +7025,11 @@ start(int argc, char *argv[])
}
#else
if (setgid(0) < 0) {
- dolog(LOG_INFO, "setgid: %s\n", strerror(errno));
- slave_shutdown();
+ perror("setgid");
exit(1);
}
if (setuid(0) < 0) {
- dolog(LOG_INFO, "setuid: %s\n", strerror(errno));
- slave_shutdown();
+ perror("setuid");
exit(1);
}
#endif
repomaster@centroid.eu