Skip to content

Commit a8493bd

Browse files
SuggonMagnostic-apollo
authored andcommitted
Fixed: Do not abort processing files in boot scripts directory if a non-regular file is found
1 parent 13648d4 commit a8493bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/termux/boot/BootReceiver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public void onReceive(Context context, Intent intent) {
3232

3333
StringBuilder logMessage = new StringBuilder();
3434
for (File file : files) {
35-
if (!file.isFile()) return;
35+
if (!file.isFile()) continue;
3636

3737
if (logMessage.length() > 0) logMessage.append(", ");
3838
logMessage.append(file.getName());

0 commit comments

Comments
 (0)