Browse Source

Fix mv path

Joachim M. Giæver 1 year ago
parent
commit
f6c2d3de4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/helper/functions

+ 1 - 1
src/helper/functions

@@ -50,7 +50,7 @@ function cpy_2_zui {
 				echo "Failed copying data from ${SNAP_COMMON}/zui-store" >&2
 				return 1
 			fi
-			mv "${SNAP_COMMON}/zui-store/*zwave*.{log,json}" "${SNAP_COMMON}/zui-store/logs"
+			mv "${SNAP_COMMON}/zui-store/zwave*.{log,json}" "${SNAP_COMMON}/zui-store/logs"
 			mv "${SNAP_COMMON}/zui-store/logs" "${SNAP_COMMON}/zui-store/z2m-logs"
 			rm -rf "${SNAP_COMMON}/zui-store/.ext-config"