From a23dd36bb62e79e5d7c2f5fec3cb17bd8e83697b Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Thu, 9 Feb 2023 11:16:36 +0100 Subject: [PATCH] fix warning to not talk about bind-mounting --- mmdebstrap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index cb2ab82..23a3f91 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -1336,11 +1336,11 @@ sub setup_mounts { . " /sys directory is missing in the target"); } elsif ((any { $_ eq $options->{mode} } ('root', 'unshare')) && !-e "/sys") { - warning("skipping bind-mounting /sys because" + warning("skipping mounting /sys because" . " /sys does not exist on the outside"); } elsif ((any { $_ eq $options->{mode} } ('root', 'unshare')) && !-d "/sys") { - warning("skipping bind-mounting /sys because" + warning("skipping mounting /sys because" . " /sys on the outside is not a directory"); } elsif ($options->{mode} eq 'root') { # we don't know whether we run in root mode inside an unshared @@ -1411,11 +1411,11 @@ sub setup_mounts { . " /proc directory is missing in the target"); } elsif ((any { $_ eq $options->{mode} } ('root', 'unshare')) && !-e "/proc") { - warning("skipping bind-mounting /proc because" + warning("skipping mounting /proc because" . " /proc does not exist on the outside"); } elsif ((any { $_ eq $options->{mode} } ('root', 'unshare')) && !-d "/proc") { - warning("skipping bind-mounting /proc because" + warning("skipping mounting /proc because" . " /proc on the outside is not a directory"); } elsif (any { $_ eq $options->{mode} } ('root', 'unshare')) { # we don't know whether we run in root mode inside an unshared