From d245c873aee99366624f4341e3e80f9815fde5f7 Mon Sep 17 00:00:00 2001 From: osy <50960678+osy@users.noreply.github.com> Date: Sat, 20 Apr 2024 01:48:13 -0700 Subject: [PATCH] config(qemu): fix compile error on macOS --- Configuration/UTMQemuConfiguration+Arguments.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configuration/UTMQemuConfiguration+Arguments.swift b/Configuration/UTMQemuConfiguration+Arguments.swift index f516a70e4..0857e3dff 100644 --- a/Configuration/UTMQemuConfiguration+Arguments.swift +++ b/Configuration/UTMQemuConfiguration+Arguments.swift @@ -84,7 +84,7 @@ import Virtualization // for getting network interfaces /// Used for placeholder images var placeholderUrl: URL { #if os(macOS) - URL(fileURLWithPath: "/dev/null")! + URL(fileURLWithPath: "/dev/null") #else let empty = FileManager.default.temporaryDirectory.appendingPathComponent("empty") FileManager.default.createFile(atPath: empty.path, contents: nil)