]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
gui: Remove --timeout.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index 8e83cc53c6d55f53ccdb0a9dfbb4c89f0bb7525a..6a601f81124a2a4adef0680ec8bcaff22a7de0b7 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -1431,12 +1431,7 @@ static int setup_tasks_and_schedule(void)
        struct status_task status_task = {.fd = -1};
        struct input_task input_task = {.task = NULL};
        struct signal_task *signal_task;
-       struct sched sched = {
-               .default_timeout = {
-                       .tv_sec = conf.timeout_arg  / 1000,
-                       .tv_usec = (conf.timeout_arg % 1000) * 1000,
-               },
-       };
+       struct sched sched = {.default_timeout = {.tv_sec = 1}};
 
        exec_task.task = task_register(&(struct task_info) {
                .name = "exec",