diff options
Diffstat (limited to 'lib/util/shhopt.c')
-rw-r--r-- | lib/util/shhopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/shhopt.c b/lib/util/shhopt.c index ab489fef..c0b4ba47 100644 --- a/lib/util/shhopt.c +++ b/lib/util/shhopt.c @@ -394,7 +394,7 @@ static void optExecute(optEntry const opt, char *arg, int lng) { if (opt.specified) - (*(opt.specified))++; + *opt.specified = 1; switch (opt.type) { case OPT_FLAG: |