Joachim M. Giæver 2 лет назад
Родитель
Сommit
ce1b8bbff3
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/hooks/connect-plug-zui-store

+ 1 - 1
src/hooks/connect-plug-zui-store

@@ -19,7 +19,7 @@ if snapctl is-connected zui-store; then
 		if [[ ! -d "${ZUI_STORE}/.z2m-logs" ]]; then
 		if [[ ! -d "${ZUI_STORE}/.z2m-logs" ]]; then
 			mkdir "${ZUI_STORE}/.z2m-logs"
 			mkdir "${ZUI_STORE}/.z2m-logs"
 		fi
 		fi
-		mv -f "${ZUI_STORE}/zwave"*.{log,json} "${ZUI_STORE}/.z2m-logs"
+		mv -f "${ZUI_STORE}/zwave"*.{log,json} "${ZUI_STORE}/.z2m-logs" 2> /dev/null; true
 		lprint "Everything seems to be in place now... Exit connection the initiate the daemonizing voting"
 		lprint "Everything seems to be in place now... Exit connection the initiate the daemonizing voting"
 		exit 1
 		exit 1
 	else
 	else