Commit 19116a61 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Args.c: fix sync option parsing

This fixes ArcticaProject/nx-libs#465
parent 7fd59fbd
......@@ -400,10 +400,8 @@ int ddxProcessArgument(int argc, char *argv[], int i)
}
if (!strcmp(argv[i], "-sync")) {
if (++i < argc) {
nxagentSynchronize = True;
return 1;
}
nxagentSynchronize = True;
return 1;
}
if (!strcmp(argv[i], "-full")) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment