diff --git a/interfaces/rre.c b/interfaces/rre.c index 246d24e..0fc0ef2 100644 --- a/interfaces/rre.c +++ b/interfaces/rre.c @@ -475,9 +475,6 @@ int main(int argc, char **argv) { int run_tests; - if (argc <= 1) return 0; /* Guard clause: exit if no */ - /* arguments are passed. */ - initialize(); /* Initialize Nga & image */ sys_argc = argc; /* Point the global argc and */ @@ -498,6 +495,8 @@ int main(int argc, char **argv) { run_tests = 0; fsp = 0; + if (argc <= 1) modes[FLAG_INTERACTIVE] = 1; + for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-h") == 0) { help(argv[0]);