You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/jail/files/jail-2.0-duplicate-jail.patch

20 lines
543 B

commit 984f62591b264aa8ed5c17f4033ec96dbba4bf5f
Author: Alexander Zubkov <green@qrator.net>
Date: Wed Oct 17 22:47:50 2018 +0200
do not duplicate jail in shells file
diff --git a/lib/arch/generic/functions b/lib/arch/generic/functions
index b1fdbc8..89cd607 100755
--- a/lib/arch/generic/functions
+++ b/lib/arch/generic/functions
@@ -823,7 +823,7 @@ sub add_jail_to_shells {
close(F);
for $k (@elem) {
- if ($k =~ /^$INSTALL_DIR\/jail/) {
+ if ($k =~ /^$INSTALL_DIR\/bin\/jail/) {
$found = 1;
last;
}