From 519046094ef314c41663441ae124e6ad68525b85 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Fri, 13 Sep 2019 12:36:02 +0200 Subject: [PATCH] fix error message about opening s-s-d --- mmdebstrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mmdebstrap b/mmdebstrap index 0fdd6ee..5c331aa 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -863,7 +863,7 @@ sub run_chroot(&$) { { move("$options->{root}/sbin/start-stop-daemon", "$options->{root}/sbin/start-stop-daemon.REAL") or error "cannot move start-stop-daemon"; - open my $fh, '>', "$options->{root}/sbin/start-stop-daemon" or error "cannot open policy-rc.d: $!"; + open my $fh, '>', "$options->{root}/sbin/start-stop-daemon" or error "cannot open start-stop-daemon: $!"; print $fh "#!/bin/sh\n"; print $fh "echo \"Warning: Fake start-stop-daemon called, doing nothing\">&2\n"; close $fh;