diff options
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | doc/README.html.in | 2 | ||||
-rw-r--r-- | src/aeswepd.c | 9 |
3 files changed, 8 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 9e8e3b4..d5e0795 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,7 @@ # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. AC_PREREQ(2.57) -AC_INIT([aeswepd], [0.3], [mznrfjrcq (at) 0pointer (dot) de]) +AC_INIT([aeswepd], [0.3b], [mznrfjrcq (at) 0pointer (dot) de]) AC_CONFIG_SRCDIR([src/aeswepd.c]) AC_CONFIG_HEADERS([config.h]) AM_INIT_AUTOMAKE([foreign -Wall]) diff --git a/doc/README.html.in b/doc/README.html.in index 9660586..7dfc39b 100644 --- a/doc/README.html.in +++ b/doc/README.html.in @@ -44,6 +44,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</p> <div class="news-date">Fri Oct 17 2003: </div> +<p class="news-text"><a href="@PACKAGE_URL@aeswepd-0.3b.tar.gz">Version 0.3b</a> released, small bugfixes.</p> + <p class="news-text"><a href="@PACKAGE_URL@aeswepd-0.3.tar.gz">Version 0.3</a> released, split from <tt><a href="http://0pointer.de/lennart/projects/waproamd/">waproamd</a></tt>, added documentation, manpage, some bug fixes.</p> <h2><a name="overview">Overview</a></h2> diff --git a/src/aeswepd.c b/src/aeswepd.c index 2975647..1f74c64 100644 --- a/src/aeswepd.c +++ b/src/aeswepd.c @@ -506,12 +506,13 @@ void parse_args(int argc, char *argv[]) { if (_check) { pid_t pid = daemon_pid_file_is_running(); - if (pid == (pid_t) -1) + if (pid == (pid_t) -1 || pid == 0) { printf("aeswepd not running.\n"); - else + exit(255); + } else { printf("aeswepd process for device %s running as pid %u.\n", interface_name, pid); - - exit(pid == 0 ? 255 : 0); + exit(0); + } } if (_list_keys) { |