From e7e6ec0314ca053f596c899fcd36bc46b3d98524 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 24 Sep 2018 20:09:28 +0200 Subject: [PATCH] if newuidmap or newgidmap fail, print all their arguments --- mmdebstrap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index f40dd5c..12cebd6 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -295,10 +295,10 @@ sub get_unshare_cmd(&$) { } my $idmapcmd = ''; if ($uidmapcmd ne "") { - 0 == system "newuidmap $ppid $uidmapcmd" or die "newuidmap failed: $!"; + 0 == system "newuidmap $ppid $uidmapcmd" or die "newuidmap $ppid $uidmapcmd failed: $!"; } if ($gidmapcmd ne "") { - 0 == system "newgidmap $ppid $gidmapcmd" or die "newgidmap failed: $!"; + 0 == system "newgidmap $ppid $gidmapcmd" or die "newgidmap $ppid $gidmapcmd failed: $!"; } exit 0; }