Blob Blame Raw
From 79c9524bc9effc43ada4a1ff8ec0e574d4b64c5d Mon Sep 17 00:00:00 2001
From: mprahl <matt_prahl@live.com>
Date: Thu, 21 Sep 2017 20:03:17 -0400
Subject: [PATCH 1/2] Use "--device" instead of "--format" in the GUI to avoid
 a warning in the logs

---
 src/MainPanel.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/MainPanel.cpp b/src/MainPanel.cpp
index ae89ef8..d756f2e 100755
--- a/src/MainPanel.cpp
+++ b/src/MainPanel.cpp
@@ -240,7 +240,7 @@ void MainPanel::OnInstall(wxCommandEvent& event)
             iso = m_dvdDriveDevList.at(m_dvdDriveList->GetSelection());
         }
 
-        PipeManager pipe(std::string("pkexec sh -c 'woeusb --no-color --for-gui --format \"") + iso + "\" \"" + device + "\" 2>&1'");
+        PipeManager pipe(std::string("pkexec sh -c 'woeusb --no-color --for-gui --device \"") + iso + "\" \"" + device + "\" 2>&1'");
 
         wxProgressDialog *dialog = new wxProgressDialog(_("Installing..."), _("Please wait..."), 100, GetParent(), wxPD_APP_MODAL | wxPD_SMOOTH | wxPD_CAN_ABORT);
 
-- 
2.13.5