fix(mainsail.sh): silence error
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -211,8 +211,8 @@ function remove_mainsail_logs() {
|
|||||||
|
|
||||||
function remove_mainsail_log_symlinks() {
|
function remove_mainsail_log_symlinks() {
|
||||||
local files
|
local files
|
||||||
files=$(find "${KLIPPER_LOGS}" -name "mainsail*")
|
files=$(find "${KLIPPER_LOGS}" -name "mainsail*" 2> /dev/null | sort)
|
||||||
if [ -n "${files}" ]; then
|
if [[ -n ${files} ]]; then
|
||||||
for file in ${files}; do
|
for file in ${files}; do
|
||||||
status_msg "Removing ${file} ..."
|
status_msg "Removing ${file} ..."
|
||||||
rm -f "${file}"
|
rm -f "${file}"
|
||||||
|
|||||||
Reference in New Issue
Block a user