]> git.tuebingen.mpg.de Git - paraslash.git/commit
Fix build as root.
authorAndre Noll <maan@systemlinux.org>
Mon, 26 Jan 2009 13:19:19 +0000 (14:19 +0100)
committerAndre Noll <maan@systemlinux.org>
Mon, 26 Jan 2009 13:19:19 +0000 (14:19 +0100)
commitcdee646de17fb348f447f994a213ce2e73150521
treea10578168de0ee11ed616e32c2a15e1f27a5bfa1
parent5dc2741ad46034876b058d82e0ecc2ff3cefa2c1
Fix build as root.

As noted by Gerrit Renker, when trying to extract help text from
./para_audiod, the build stops when logged in as root because
para_audiod refuses to start as root if --user and --group are
not given.

This patch moves the check for UID==0 after the check for --help and
--detailed-help so that the help text may be extracted as root even
if no --user and --group options are given.
audiod.c