summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runcon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runcon.c b/src/runcon.c
index a8ddb7474..1d79ef6ff 100644
--- a/src/runcon.c
+++ b/src/runcon.c
@@ -114,9 +114,9 @@ main (int argc, char **argv, char **envp)
while (1)
{
- int c;
int option_index = 0;
- c = getopt_long (argc, argv, "r:t:u:l:c", long_options, &option_index);
+ int c = getopt_long (argc, argv, "+r:t:u:l:c", long_options,
+ &option_index);
if (c == -1)
break;
switch (c)