diff --git a/src/main.cpp b/src/main.cpp index b7303ba..56ff239 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -61,8 +61,11 @@ int main(int argc, char** argv) listServices(); } else if (args.contains("-i")) - { - args = {"-d", "/etc/" + QString(APP_BIN)}; + { + args.clear(); + args.append("-d"); + args.append("/etc/"); + args.append(APP_BIN); rmServices(); ret = loadServices(args); }