Fixed SC2155

https://github.com/koalaman/shellcheck/wiki/SC2155
This commit is contained in:
Daniel Goldberg 2020-01-04 22:51:08 +02:00
parent f15abda2ff
commit fe97a8f8e3
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ exists() {
command -v "$1" >/dev/null 2>&1
}
export os_version_monkey=$(cat /etc/issue)
os_version_monkey=$(cat /etc/issue)
export os_version_monkey
MONGODB_DIR=$1 # If using deb, this should be: /var/monkey/monkey_island/bin/mongodb
if [[ ${os_version_monkey} == "Ubuntu 16.04"* ]]; then