aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamadm/rspamadm.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-24 18:19:58 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-09-24 18:19:58 +0100
commit24ff78ce9808957cd732ff7f3834e12b51d0749a (patch)
treeaf558233bbae06bd76d8987279d96efdb5df5e1b /src/rspamadm/rspamadm.c
parentf1f8be8205f221ea213d4c304ffc7e6bd2c47aa2 (diff)
downloadrspamd-24ff78ce9808957cd732ff7f3834e12b51d0749a.tar.gz
rspamd-24ff78ce9808957cd732ff7f3834e12b51d0749a.zip
Add `pw` utility to manage rspamd passwords.
Diffstat (limited to 'src/rspamadm/rspamadm.c')
-rw-r--r--src/rspamadm/rspamadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rspamadm/rspamadm.c b/src/rspamadm/rspamadm.c
index 235eb0acc..9105b74b8 100644
--- a/src/rspamadm/rspamadm.c
+++ b/src/rspamadm/rspamadm.c
@@ -282,7 +282,7 @@ main (gint argc, gchar **argv, gchar **env)
nargv[i] = g_strdup (argv[i + nargc]);
}
- targc = argc - nargc - 1;
+ targc = argc - nargc;
targv = nargv;
cmd->run (targc, targv);
g_strfreev (nargv);