archrelease: copy trunk to community-any
[ArchLinux/community.git] / pesign / trunk / pesign-116-remove_root_check.patch
blob4a9879c260dd62bc97d3f2648555a4ceb197273f
1 diff -ruN a/src/daemon.c b/src/daemon.c
2 --- a/src/daemon.c 2019-05-10 20:53:51.000000000 +0200
3 +++ b/src/daemon.c 2020-04-26 13:34:02.064214277 +0200
4 @@ -1159,11 +1159,6 @@
5 ctx.backup_cms->log_priv = &ctx;
6 ctx.sd = -1;
8 - if (getuid() != 0) {
9 - fprintf(stderr, "pesignd must be started as root");
10 - exit(1);
11 - }
13 check_socket(&ctx);
15 openlog("pesignd", LOG_PID, LOG_DAEMON);