projects
/
cloudstore.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
remove chroot which doesn't work
[cloudstore.git]
/
gearman
/
send_file.pl
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;