diff --git a/main.cpp b/main.cpp index a0c06f617..386d751ef 100644 --- a/main.cpp +++ b/main.cpp @@ -615,9 +615,7 @@ int main(int argc,char **argv) if (homeDir) { printHelp(argv[0],stdout); return 0; - } - homeDir = argv[i]; - break; + } else homeDir = argv[i]; } } if ((!homeDir)||(strlen(homeDir) == 0))