Blame 0024-nspawn-add-missing-E-to-getopt_long-4860.patch
|
|
5d6eedd |
From 331ea131a5d1b942603c01225758c29f9ca98feb Mon Sep 17 00:00:00 2001
|
|
|
03e93e2 |
From: Wim de With <register@wimdewith.com>
|
|
|
03e93e2 |
Date: Sat, 10 Dec 2016 05:33:58 +0100
|
|
|
03e93e2 |
Subject: [PATCH] nspawn: add missing -E to getopt_long (#4860)
|
|
|
03e93e2 |
|
|
|
03e93e2 |
(cherry picked from commit 2e1f244efd2dfc1a60d032bef3d88b9ba6e0444b)
|
|
|
03e93e2 |
---
|
|
|
03e93e2 |
src/nspawn/nspawn.c | 2 +-
|
|
|
03e93e2 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
03e93e2 |
|
|
|
03e93e2 |
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c
|
|
|
03e93e2 |
index c8fc011907..81573be95a 100644
|
|
|
03e93e2 |
--- a/src/nspawn/nspawn.c
|
|
|
03e93e2 |
+++ b/src/nspawn/nspawn.c
|
|
|
03e93e2 |
@@ -472,7 +472,7 @@ static int parse_argv(int argc, char *argv[]) {
|
|
|
03e93e2 |
assert(argc >= 0);
|
|
|
03e93e2 |
assert(argv);
|
|
|
03e93e2 |
|
|
|
03e93e2 |
- while ((c = getopt_long(argc, argv, "+hD:u:abL:M:jS:Z:qi:xp:nU", options, NULL)) >= 0)
|
|
|
03e93e2 |
+ while ((c = getopt_long(argc, argv, "+hD:u:abL:M:jS:Z:qi:xp:nUE:", options, NULL)) >= 0)
|
|
|
03e93e2 |
|
|
|
03e93e2 |
switch (c) {
|
|
|
03e93e2 |
|