diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/profile.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.sh b/src/profile.sh index e5a9240..05a25fe 100644 --- a/src/profile.sh +++ b/src/profile.sh @@ -34,7 +34,7 @@ is_profile() { local prof="${1}" - [ "x${profiles# ${prof} }" != "x${profiles}" ] + case "${profiles}" in *" ${prof} "*) return 0;; *) return 1;; esac return ${?} } |