fix(crownest): remove errors output from menu

This commit is contained in:
coderus
2023-02-28 22:22:46 +01:00
parent e0d65cc447
commit b11fbdb953

View File

@@ -135,7 +135,7 @@ function remove_crowsnest(){
get_crowsnest_status(){
local -a files
local env_file
env_file="$(grep "EnvironmentFile" /etc/systemd/system/crowsnest.service | cut -d "=" -f2)"
env_file="$(grep "EnvironmentFile" /etc/systemd/system/crowsnest.service 2>/dev/null | cut -d "=" -f2)"
files=(
"${CROWSNEST_DIR}"
"/usr/local/bin/crowsnest"