mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-15 11:34:27 +05:00
fix(crowsnest): silence grep error output in main menu
fixes #308 Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
@@ -135,7 +135,7 @@ function remove_crowsnest(){
|
|||||||
get_crowsnest_status(){
|
get_crowsnest_status(){
|
||||||
local -a files
|
local -a files
|
||||||
local env_file
|
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=(
|
files=(
|
||||||
"${CROWSNEST_DIR}"
|
"${CROWSNEST_DIR}"
|
||||||
"/usr/local/bin/crowsnest"
|
"/usr/local/bin/crowsnest"
|
||||||
|
|||||||
Reference in New Issue
Block a user