[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#237589: dpkg: -V requires an argument



retitle 237589 [TRIVIAL][S-S-D] -V requires an argument
tags 237589 patch pending
thanks

On Fri, 2004-03-12 at 09:36, Joost Cassee wrote:

> start-stop-daemon -V requires an argument. This causes the cfengine2
> init script to fail.
> 
On the one hand, the fact that cfengine2's init script fails is a
problem with cfengine2 not passing the correct arguments to s-s-d.

On the other, s-s-d shouldn't require an argument for -V (version), and
certainly doesn't do anything with it.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Index: debian/changelog
===================================================================
--- debian/changelog	(revision 1896)
+++ debian/changelog	(working copy)
@@ -1,6 +1,6 @@
 dpkg (1.10.21) unstable; urgency=low
 
-  * 
+  * Don't require argument for start-stop-daemon -V.  Closes: #237589.
 
  -- Scott James Remnant <scott@netsplit.com>  UNRELEASED
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 1896)
+++ ChangeLog	(working copy)
@@ -1,3 +1,7 @@
+Fri Mar 12 15:05:52 GMT 2004 Scott James Remnant <scott@netsplit.com>
+
+  * utils/start-stop-daemon.c: Don't require an argument for -V (version).
+
 Thu Mar 11 11:36:06 GMT 2004 Scott James Remnant <scott@netsplit.com>
 
   * version-nr, debian/changelog: Bump version to 1.10.21.
Index: utils/start-stop-daemon.c
===================================================================
--- utils/start-stop-daemon.c	(revision 1891)
+++ utils/start-stop-daemon.c	(working copy)
@@ -474,7 +474,7 @@
 	int c;
 
 	for (;;) {
-		c = getopt_long(argc, argv, "HKSV:a:n:op:qr:s:tu:vx:c:N:bmR:g:d:",
+		c = getopt_long(argc, argv, "HKSVa:n:op:qr:s:tu:vx:c:N:bmR:g:d:",
 				longopts, (int *) 0);
 		if (c == -1)
 			break;

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: