Skip to content

Commit

Permalink
Fixed exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Paget96 authored Nov 19, 2019
1 parent 7f516e7 commit 8d79e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ fi;
setprop ro.audio.flinger_standbytime_ms 300
sendToLog "$date Set low audio flinger standby delay to 300ms for reducing power consumption";

for i in /sys/class/scsi_disk/*); do
for i in $(ls /sys/class/scsi_disk); do
write /sys/class/scsi_disk/"$i"/cache_type "temporary none"
sendToLog "$date Set cache type to temporary none in $i";
done
Expand Down

0 comments on commit 8d79e5a

Please sign in to comment.