diff --git a/taskman.inc.php b/taskman.inc.php index 58a1669..abfbc95 100644 --- a/taskman.inc.php +++ b/taskman.inc.php @@ -271,7 +271,7 @@ function taskman_run($argv = array(), $help_func = null, $proc_argv = true) foreach(taskman_gettasks() as $task_obj) { if($task_obj->hasProp('always')) - $always_tasks[] = $task_obj; + array_unshift($always_tasks, $task_obj); if($task_obj->hasProp('default')) { if($default_task)