From 03f6a9bc303ed5964e3cbad81970719c35783274 Mon Sep 17 00:00:00 2001 From: Floris Bos Date: Mon, 29 Jan 2024 22:27:25 +0100 Subject: [PATCH] Linux: don't offer ssh-keygen on embedded platform Closes #786 --- src/imagewriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/imagewriter.cpp b/src/imagewriter.cpp index 7485e5f..ce15fdd 100644 --- a/src/imagewriter.cpp +++ b/src/imagewriter.cpp @@ -1113,7 +1113,7 @@ bool ImageWriter::hasSshKeyGen() #ifdef Q_OS_WIN return QFile::exists(_sshKeyGen()); #else - return true; + return !_embeddedMode; #endif }