Skip to content

Commit 0c168d5

Browse files
committed
Only try to stop qemu-binfmt service on Alpine if it exists
It is not installed by default. Signed-off-by: Jan Dubois <[email protected]>
1 parent 26a3821 commit 0c168d5

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)