On Tue, Jun 10, 2008 at 11:41:23AM -0500, Tyler Hicks wrote:
> Remove colons following short opts that don't require arguments.
> If foreground functionality is requested, log syslog messages to
> stderr and system logs.  Also, add daemon name and pid as syslog
> prefix.

Merged.

> Signed-off-by: Tyler Hicks <[EMAIL PROTECTED]>
> ---
>  src/daemon/main.c |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/src/daemon/main.c b/src/daemon/main.c
> index cceb487..5e44a53 100644
> --- a/src/daemon/main.c
> +++ b/src/daemon/main.c
> @@ -271,7 +271,7 @@ int main(int argc, char **argv)
>               {"help\0\t\t\tShow usage information", no_argument, NULL, 'h'},
>               {NULL, 0, NULL, 0}
>       };
> -     static char *short_options = "p:f:C:R:V:d:h";
> +     static char *short_options = "p:fC:R:Vd:h";
>       int long_options_ret;
>       struct rlimit core = {0, 0};
>       int foreground = 0;
> @@ -327,6 +327,7 @@ int main(int argc, char **argv)
>                       break;
>               }
>       }
> +     openlog(argv[0], LOG_PID | (foreground ? LOG_PERROR : 0), 0);
>       if (!messaging_type_specified) {
>               uint32_t version;

Attachment: pgp54UpOxaDHi.pgp
Description: PGP signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
eCryptfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ecryptfs-devel

Reply via email to