summaryrefslogtreecommitdiffstats
path: root/eurephiadm
diff options
context:
space:
mode:
Diffstat (limited to 'eurephiadm')
-rw-r--r--eurephiadm/eurephiadm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eurephiadm/eurephiadm.c b/eurephiadm/eurephiadm.c
index 5a46db9..ae189c5 100644
--- a/eurephiadm/eurephiadm.c
+++ b/eurephiadm/eurephiadm.c
@@ -88,7 +88,7 @@ int cmd_Help(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int a
int cmd_Logout(eurephiaCTX *ctx, eurephiaSESSION *sess, eurephiaVALUES *cfg, int argc, char **argv) {
int rc = 0;
- rc = eDBadminLogout(ctx, argv[1]);
+ rc = eDBadminLogout(ctx, argv[0]);
fprintf(stdout, "%s\n", (rc == 1 ? "Logged out succesfully" : "Logout failed."));
return (rc == 0);
}