From d70025b57690133675a36c5974affa9edc5d50fb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 17 Jul 2016 18:33:45 +0300 Subject: code style --- apps/UnsetEnv.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/UnsetEnv.hs') diff --git a/apps/UnsetEnv.hs b/apps/UnsetEnv.hs index 6f47473..e4cbeac 100644 --- a/apps/UnsetEnv.hs +++ b/apps/UnsetEnv.hs @@ -44,8 +44,9 @@ unsetEnv options = wipe varName = optName options forAllUsers = optGlobal options - env | forAllUsers = Environment.AllUsers - | otherwise = Environment.CurrentUser + env = if forAllUsers + then Environment.AllUsers + else Environment.CurrentUser skipPrompt = optYes options wipe = if skipPrompt -- cgit v1.2.3