projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71e2af9
)
Give shutdown a bit of time to happen
author
Jamie Cameron
<jcameron@webmin.com>
Tue, 19 Oct 2010 00:11:13 +0000
(17:11 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Tue, 19 Oct 2010 00:11:13 +0000
(17:11 -0700)
proftpd/proftpd-lib.pl
patch
|
blob
|
history
diff --git
a/proftpd/proftpd-lib.pl
b/proftpd/proftpd-lib.pl
index
d069a03
..
c2e283f
100755
(executable)
--- a/
proftpd/proftpd-lib.pl
+++ b/
proftpd/proftpd-lib.pl
@@
-818,6
+818,7
@@
if (&get_proftpd_version() > 1.22) {
# Stop and re-start
local $err = &stop_proftpd();
return $err if ($err);
+ sleep(1); # Wait for clean shutdown
return &start_proftpd();
}
else {