dont execute commands - deleted

This commit is contained in:
merlokk 2017-10-15 21:13:04 +03:00
commit cae696d36b

View file

@ -370,12 +370,6 @@ int main(int argc, char* argv[]) {
offline = 0; offline = 0;
} }
// dont execute comamnds in offline mode
if (offline && (executeCommand || script_cmds_file)) {
printf("ERROR: can't execute in offline mode.\n");
return 2;
}
// create a mutex to avoid interlacing print commands from our different threads // create a mutex to avoid interlacing print commands from our different threads
pthread_mutex_init(&print_lock, NULL); pthread_mutex_init(&print_lock, NULL);