Commit 70d675f2 authored by jan.koester's avatar jan.koester
Browse files

test

parent 434d95f9
Loading
Loading
Loading
Loading
+0 −7
Changes for src/blogi.cpp: 0 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -3102,7 +3102,6 @@ int main(int argc, char* argv[]) {
        sigaction (SIGPIPE, &SignalAction, nullptr);

        if(debug==0){
            if(getuid()==0){
            // Running as root: set up logfiles, optionally daemonize, and
            // let HttpConD drop privileges to the blogi user afterwards.
            ensureConfigGroupWritable(config);
@@ -3122,12 +3121,6 @@ int main(int argc, char* argv[]) {
            }else{
                HttpConD blogiD(false);
            }
            }else{
                // Started directly as an unprivileged user (e.g. the blogi user
                // via setuidgid). Run in the foreground and log to stdout/stderr,
                // which the supervisor (systemd-nspawn) captures to the journal.
                HttpConD blogiD(false);
            }
        }else{
            HttpConD blogiD(true);
        }