Skip to content

Commit c4b97d7

Browse files
authored
Merge pull request #3279 from jandubois/qemu-exists
Only try to stop qemu-binfmt service on Alpine if it exists
2 parents 26a3821 + 0c168d5 commit c4b97d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cidata/cidata.TEMPLATE.d/boot/05-rosetta-volume.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ fi
88

99
if [ -f /etc/alpine-release ]; then
1010
rc-service procfs start --ifnotstarted
11-
rc-service qemu-binfmt stop --ifstarted
11+
rc-service qemu-binfmt stop --ifexists --ifstarted
1212
fi
1313

1414
binfmt_entry=/proc/sys/fs/binfmt_misc/rosetta

0 commit comments

Comments
 (0)