Skip to content

Commit 5b65b4a

Browse files
committed
fix: loop for each file inside the directory instead of only once in post-fs-data.sh
Signed-off-by: TheSillyOk <priv.ld@proton.me>
1 parent a606149 commit 5b65b4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

post-fs-data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function watch_logcat() {
2424
FILES=$(ls "$SAVE_FOLDER" | grep 'DebugAssistant')
2525
if [[ "$FILES" != "" ]]; then
2626
index=1
27-
for f in "$SAVE_FOLDER"/; do
27+
for f in "$SAVE_FOLDER"/*; do
2828
LATEST=$(ls -t "$SAVE_FOLDER" | awk NR==$index)
2929
if [[ "$LATEST" == "DebugAssistant.log" ]]; then
3030
prepare_file "-2"

0 commit comments

Comments
 (0)