From 1413e9c61970532b846893ca6435f2a2785a1b02 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 2 Apr 2015 10:25:35 -0400 Subject: [PATCH] /dev/null any error from propellor --check This includes "unknown option" from old versions of propellor.. --- src/Propellor/Bootstrap.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propellor/Bootstrap.hs b/src/Propellor/Bootstrap.hs index b0b4e58..a07347e 100644 --- a/src/Propellor/Bootstrap.hs +++ b/src/Propellor/Bootstrap.hs @@ -27,7 +27,7 @@ bootstrapPropellorCommand = "if ! test -x ./propellor; then " ++ go ++ "; fi;" + -- Use propellor --check to detect if the local propellor binary has -- stopped working (eg due to library changes), and must be rebuilt. checkBinaryCommand :: ShellCommand -checkBinaryCommand = "if test -x ./propellor && ! ./propellor --check; then " ++ go ++ "; fi" +checkBinaryCommand = "if test -x ./propellor && ! ./propellor --check 2>/dev/null; then " ++ go ++ "; fi" where go = intercalate " && " [ "cabal clean"