projects
/
cloudstore.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67f05d4
)
remove chroot which doesn't work
author
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:28 +0000
(20:17 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:28 +0000
(20:17 +0100)
gearman/send_file.pl
patch
|
blob
|
history
diff --git
a/gearman/send_file.pl
b/gearman/send_file.pl
index
93e5165
..
03ef140
100755
(executable)
--- a/
gearman/send_file.pl
+++ b/
gearman/send_file.pl
@@
-101,11
+101,5
@@
$worker->register_function( user_usage => sub {
warn "$0 pid $$ waitng for jobs\n";
-if ( $ENV{SLICE} ) {
- chroot $ENV{SLICE} || die "can't chroot $ENV{SLICE}: $!";
-} else {
- warn "WARNING: not running under chroot SLICE=/hostname/sx\n";
-}
-
$worker->work while 1;