From eaf38d679d49d8599713ccf153af2173bd1231d4 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 29 Jan 2006 04:07:26 +0000 Subject: [PATCH] Make start-stop-daemon print the proper version instead of 'VERSION'. --- ChangeLog | 5 +++++ debian/changelog | 2 ++ utils/start-stop-daemon.c | 5 +++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 20298e95..6ed025c8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-29 Guillem Jover + + * utils/start-stop-daemon.c (do_help): Print the proper version giving + it as an argument to printf, instead of printing 'VERSION'. + 2006-01-29 Guillem Jover * configure.ac: Bump version to 1.13.14~. diff --git a/debian/changelog b/debian/changelog index 651519c6..e8786453 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ dpkg (1.13.14~) UNRELEASED; urgency=low + [ Guillem Jover ] + * Make start-stop-daemon print the proper version instead of 'VERSION'. -- Guillem Jover Sun, 29 Jan 2006 06:02:58 +0200 diff --git a/utils/start-stop-daemon.c b/utils/start-stop-daemon.c index a03196a6..824b3333 100644 --- a/utils/start-stop-daemon.c +++ b/utils/start-stop-daemon.c @@ -284,7 +284,7 @@ static void do_help(void) { printf( -"start-stop-daemon VERSION for Debian - small and fast C version written by\n" +"start-stop-daemon %s for Debian - small and fast C version written by\n" "Marek Michalkiewicz , public domain.\n" "\n" "Usage:\n" @@ -319,7 +319,8 @@ do_help(void) "or may be just , meaning //KILL/\n" "\n" "Exit status: 0 = done 1 = nothing done (=> 0 if --oknodo)\n" -" 3 = trouble 2 = with --retry, processes wouldn't die\n"); +" 3 = trouble 2 = with --retry, processes wouldn't die\n", + VERSION); } -- 2.39.5