summaryrefslogtreecommitdiff
path: root/lib/Task.cc
diff options
context:
space:
mode:
authorPixel <Pixel>2001-12-22 10:45:12 +0000
committerPixel <Pixel>2001-12-22 10:45:12 +0000
commit477886b341edc16634b39f4a839e595add883f17 (patch)
treebdfe046ef4b9cc084562020bf30210ff1da34965 /lib/Task.cc
parent4355c6e9835e08e42d8d082ada4470293faef2ca (diff)
TaskMan & Task bugfix..
Diffstat (limited to 'lib/Task.cc')
-rw-r--r--lib/Task.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Task.cc b/lib/Task.cc
index c50a6e7..839c003 100644
--- a/lib/Task.cc
+++ b/lib/Task.cc
@@ -26,6 +26,7 @@ int Task::Run() {
}
catch (GeneralException e) {
cerr << _("Task ") << GetName() << _(" caused an unexpected exception: \"") << e.GetMsg() << _("\". Terminating.\n");
+ state = TASK_DONE;
return TASK_DONE;
}