[systemd-devel] [PATCH] activate: fix crash when -s is passed

2013-11-13 Thread Mantas Mikulėnas
getopt_long() was told to accept -s which was never implemented.
---
 src/activate/activate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/activate/activate.c b/src/activate/activate.c
index 07e46b9..dffc6e2 100644
--- a/src/activate/activate.c
+++ b/src/activate/activate.c
@@ -317,7 +317,7 @@ static int parse_argv(int argc, char *argv[]) {
 assert(argc = 0);
 assert(argv);
 
-while ((c = getopt_long(argc, argv, +hl:saE:, options, NULL)) = 0)
+while ((c = getopt_long(argc, argv, +hl:aE:, options, NULL)) = 0)
 switch(c) {
 case 'h':
 return help();
-- 
1.8.4.2

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] [PATCH] activate: fix crash when -s is passed

2013-11-13 Thread David Timothy Strauss
Thanks. Applied.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel