We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62b7543 commit 9e59459Copy full SHA for 9e59459
1 file changed
static/System/starts/1-archive-unpacker.sh
@@ -4,7 +4,7 @@
4
5
ARCHIVES_FOLDER="/mnt/SDCARD/System/archives"
6
ARCHIVES="$(find "$ARCHIVES_FOLDER" -type f -iname "*.zip")"
7
-ARCHIVE_COUNT="$(echo "$ARCHIVES" | wc -l)"
+ARCHIVE_COUNT="$(printf "$ARCHIVES" | wc -l)"
8
ARCHIVE_UNPACK_LOG="/mnt/SDCARD/System/log/archive_unpack.log"
9
10
log_message "Unpacker: $ARCHIVE_COUNT archives found" "$ARCHIVE_UNPACK_LOG"
0 commit comments