Skip to content

Commit

Permalink
FIX #318 Wildcard match on errorcode
Browse files Browse the repository at this point in the history
  • Loading branch information
muuki88 committed Sep 25, 2014
1 parent c88ebe1 commit bbd32c3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
}
Expand Down

0 comments on commit bbd32c3

Please sign in to comment.