diff --git a/main.c b/main.c index 5a411fb..6f1c5b3 100644 --- a/main.c +++ b/main.c @@ -632,14 +632,8 @@ int main() printlog(strlog, WARNING, 0); }else if (id == 0) { - if (cfg.commande[0] != 0) - { - printlog(str, INFO, 0); - r = system( str ); - }else - { - printlog("no command defined: no command launched", WARNING, 0); - } + printlog(str, INFO, 0); + r = system( str ); exit(r); } }else