Skip to content

Commit f67ffbf

Browse files
committed
fix: prepare_file function expecting suffix to be received instead of full file path
Signed-off-by: TheSillyOk <priv.ld@proton.me>
1 parent 8b14be2 commit f67ffbf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

post-fs-data.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ SAVE_FOLDER=/data/local/tmp/DebugAssistant
88
mkdir -p "$SAVE_FOLDER"
99

1010
function prepare_file() {
11-
local file_path="$SAVE_FOLDER/DebugAssistant$1.log"
11+
local file_path="$1"
1212

13-
rm "$file_path" || true
13+
rm "$file_path"
1414
touch "$file_path"
1515
chown shell:shell "$file_path"
1616
}

0 commit comments

Comments
 (0)