fix copy-paste error

This commit is contained in:
Johannes 'josch' Schauer 2018-10-01 17:14:59 +02:00
parent b827e58d07
commit 62b92bb229
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -95,7 +95,7 @@ sub test_unshare() {
# otherwise we will get "Modification of a read-only value attempted" # otherwise we will get "Modification of a read-only value attempted"
my $unshare_flags = CLONE_NEWUSER; my $unshare_flags = CLONE_NEWUSER;
# we spawn a new per process because if unshare succeeds, we would # we spawn a new per process because if unshare succeeds, we would
# otherwise have unshared the sbuild process itself which we don't want # otherwise have unshared the mmdebstrap process itself which we don't want
my $pid = fork() // die "fork() failed: $!"; my $pid = fork() // die "fork() failed: $!";
if ($pid == 0) { if ($pid == 0) {
my $ret = syscall &SYS_unshare, $unshare_flags; my $ret = syscall &SYS_unshare, $unshare_flags;