diff options
| author | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-15 11:56:13 -0700 |
|---|---|---|
| committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-07-15 11:56:13 -0700 |
| commit | 83d1197cc26d0cbeff59013ad08391df9502bc04 (patch) | |
| tree | 94263b84d077f7f47026a1b2bccf1d6b0f2e89ed /src/Propellor | |
| parent | fe0796afa0a8d298f347612cfa608921c8b66ddc (diff) | |
factor out a 'return'
Diffstat (limited to 'src/Propellor')
| -rw-r--r-- | src/Propellor/Property/Sbuild.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Sbuild.hs b/src/Propellor/Property/Sbuild.hs index 4f3fcc26..1ff4876a 100644 --- a/src/Propellor/Property/Sbuild.hs +++ b/src/Propellor/Property/Sbuild.hs @@ -472,7 +472,7 @@ schrootPiupartsConf (SbuildSchroot s a) = sidHostArchSchroot :: SbuildSchroot -> Propellor Bool sidHostArchSchroot (SbuildSchroot suite arch) = do maybeOS <- getOS - case maybeOS of - Nothing -> return False + return $ case maybeOS of + Nothing -> False Just (System _ hostArch) -> - return $ suite == "unstable" && hostArch == arch + suite == "unstable" && hostArch == arch |
