Skip to content

Commit 30664e1

Browse files
fix previous commit
1 parent 0162026 commit 30664e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

udroid/src/udroid.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -974,14 +974,14 @@ list() {
974974
echo -e "|----------------|$_size_line" >> $tempfile
975975

976976
for custom_fs in $(ls $path | grep -E "^custom-"); do
977-
# remove "custom-" from the name only at the begining of the string
978-
custom_fs=$(echo $custom_fs | sed -e 's/^custom-//')
979977
if [[ -d $path/$custom_fs ]]; then
980978
if [[ $size == true ]]; then
981979
_size="$(du -sh $path/$custom_fs 2> /dev/null | awk '{print $1}') |"
982980
else
983981
_size=""
984982
fi
983+
# remove "custom-" from the name only at the begining of the string
984+
custom_fs=$(echo $custom_fs | sed -e 's/^custom-//')
985985
echo -e "|$custom_fs|$_size" >> $tempfile
986986
fi
987987
done

0 commit comments

Comments
 (0)