From bbd32c379c3005b529df819c8d672ece46273a24 Mon Sep 17 00:00:00 2001 From: Nepomuk Seiler Date: Tue, 23 Sep 2014 18:25:38 +0200 Subject: [PATCH] FIX #318 Wildcard match on errorcode --- src/main/scala/com/typesafe/sbt/packager/rpm/RpmHelper.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/com/typesafe/sbt/packager/rpm/RpmHelper.scala b/src/main/scala/com/typesafe/sbt/packager/rpm/RpmHelper.scala index 104a98fc7..11cecba5d 100644 --- a/src/main/scala/com/typesafe/sbt/packager/rpm/RpmHelper.scala +++ b/src/main/scala/com/typesafe/sbt/packager/rpm/RpmHelper.scala @@ -86,7 +86,7 @@ object RpmHelper { log.debug("Executing rpmbuild with: " + args.mkString(" ")) (Process(args, Some(specsDir)) ! log) match { case 0 => () - case 1 => sys.error("Unable to run rpmbuild, check output for details.") + case code => sys.error("Unable to run rpmbuild, check output for details. Errorcode " + code) } } }