Package: sleepd Version: 1.3.0 Severity: normal
Hi, I noticed that sleepd has some features that weren't there what I first installed it, so I tried to use --battery and --hibernate-command. I found that when I used --hibernate-command, sleepd would not daemonize. I looked at the source code and I found what appears to be a simple missing "break;" in your case switching after the getopt() call: while (c != -1) { c=getopt_long(argc,argv, "s:d:nu:U:wi:hac:b:A", long_options, NULL); switch (c) { case 's': sleep_command=strdup(optarg); break; case 'd': hibernate_command=strdup(optarg); // MISSING BREAK case 'n': daemonize=0; break; [...] Luckily it's a super-simple fix. -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (90, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-hole Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages sleepd depends on: ii libapm1 3.2.2-5 Library for interacting with APM d ii libc6 2.3.5-13 GNU C Library: Shared libraries an Versions of packages sleepd recommends: pn apmd <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]