From 9f2d544b27171c89eceedbb83bfcb26f5702dadb Mon Sep 17 00:00:00 2001 From: Piotr Dziwinski Date: Sun, 21 Sep 2014 21:28:59 +0200 Subject: Fix zenity version checking problems --- src/app/system_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/system_linux.cpp b/src/app/system_linux.cpp index 837c03e..5a39679 100644 --- a/src/app/system_linux.cpp +++ b/src/app/system_linux.cpp @@ -25,7 +25,7 @@ void CSystemUtilsLinux::Init() { m_zenityAvailable = true; - if (system("zenity --version >& /dev/null") != 0) + if (system("zenity --version 1> /dev/null 2> /dev/null") != 0) { m_zenityAvailable = false; GetLogger()->Warn("Zenity not available, will fallback to console users dialogs.\n"); -- cgit v1.2.3-1-g7c22