Skip to content

Commit 819ebd1

Browse files
flash_all_except file problem fixed
1 parent c94ffcf commit 819ebd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flash-stock-rom.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
trap "echo -e '\033[0;31m Script execution aborted. \033[0m'; exit 1" INT
33
file1="./stock-rom/flash_all.sh"
44
file2="./stock-rom/flash_all_lock.sh"
5-
file3="./stock-rom/flash_all_except_data_storage.sh"
5+
file3="./stock-rom/flash_all_except_*.sh"
66

77
sudo chmod +x $file1 $file2 $file3
88
sudo -k
@@ -26,7 +26,7 @@ fi
2626

2727
if [ ! -f $file3 ]; then
2828
echo -e "\033[0;31m $file3 file is not found \033[0m";
29-
exit 1;
29+
exit 1;
3030
fi
3131

3232

0 commit comments

Comments
 (0)