From 23fb2055e42182e19d1bb7222559b9449fa2efae Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 18 Aug 2020 09:36:27 +0200 Subject: [PATCH] fix error message to specify the right command --- mmdebstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 53d628a..4602761 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2681,7 +2681,7 @@ sub hookhelper { ('copy-in', 'tar-in', 'upload', 'sync-in') ) { if (scalar @ARGV < 9) { - error "copy-in and tar-in need at least one path on the" + error "$command needs at least one path on the" . " outside and the output path inside the chroot"; } my $outpath = $ARGV[-1]; @@ -2825,7 +2825,7 @@ sub hookhelper { ('copy-out', 'tar-out', 'download', 'sync-out') ) { if (scalar @ARGV < 9) { - error "copy-out needs at least one path inside the chroot and" + error "$command needs at least one path inside the chroot and" . " the output path on the outside"; } my $outpath = $ARGV[-1];