summaryrefslogtreecommitdiff
path: root/lib/CopyJob.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CopyJob.cc')
-rw-r--r--lib/CopyJob.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CopyJob.cc b/lib/CopyJob.cc
index 9dc9978..55fe59d 100644
--- a/lib/CopyJob.cc
+++ b/lib/CopyJob.cc
@@ -2,8 +2,8 @@
#include "General.h"
CopyJob::CopyJob(Handle * as, Handle * ad, ssize_t asiz, bool ads) : s(as), d(ad), siz(asiz), ds(ads), cursiz(0), r(0) {
- WaitFor(s);
- WaitFor(d);
+ WaitFor(s, W4_STICKY);
+ WaitFor(d, W4_STICKY);
}
CopyJob::~CopyJob() { }