remove chroot which doesn't work
authorDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:28 +0000 (20:17 +0100)
committerDobrica Pavlinusic <dpavlin@rsync1.maxxo.com>
Sat, 11 Feb 2012 19:17:28 +0000 (20:17 +0100)
gearman/send_file.pl

index 93e5165..03ef140 100755 (executable)
@@ -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;