summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-01-23 17:03:56 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-01-23 17:03:56 (EST)
commitc3863ac4c059ab57db949fa7dc2f3b2b0f0771bc (patch)
tree819a7bfc71ed82fd4cab2af228b659c6e61e43e1 /src
parentc8812d375135aff2e708717d2d85ac08999c445b (diff)
is_profile(): Add explicit return
Diffstat (limited to 'src')
-rw-r--r--src/profile.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/profile.sh b/src/profile.sh
index d5ffe1e..e5a9240 100644
--- a/src/profile.sh
+++ b/src/profile.sh
@@ -35,6 +35,8 @@ is_profile()
local prof="${1}"
[ "x${profiles# ${prof} }" != "x${profiles}" ]
+
+ return ${?}
}
profile_set()