fix(crowsnest): silence grep error output in main menu
fixes #308 Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
1 parent
faf56ed1b1
commit
31616ebad5
1 file changed
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user