Skip to content

Commit d446bcb

Browse files
05-check-chroot: fix path in error msg
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
1 parent b1555d4 commit d446bcb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hooks/05-check-chroot.install

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
6767
echo "want. Exiting..."
6868
echo ""
6969
echo "Override this check with:"
70-
echo " touch /etc/kernel/install.d/05-check-chroot.install"
70+
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
7171
echo ""
7272
exit 1
7373
fi
@@ -81,7 +81,7 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
8181
echo "generally not what you want. Exiting..."
8282
echo ""
8383
echo "Override this check with:"
84-
echo " touch /etc/kernel/install.d/05-check-chroot.install"
84+
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
8585
echo ""
8686
exit 1
8787
fi
@@ -94,7 +94,7 @@ if [ "$(stat -c %d:%i /)" != "$(stat -c %d:%i /proc/1/root/.)" ]; then
9494
echo "want. Exiting..."
9595
echo ""
9696
echo "Override this check with:"
97-
echo " touch /etc/kernel/install.d/05-check-chroot.install"
97+
echo " touch /etc/kernel/preinst.d/05-check-chroot.install"
9898
echo ""
9999
exit 1
100100
fi

0 commit comments

Comments
 (0)