Skip to content

Commit 0162026

Browse files
remove "custom-" out
1 parent 8425ca9 commit 0162026

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

udroid/src/udroid.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,8 @@ 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-//')
977979
if [[ -d $path/$custom_fs ]]; then
978980
if [[ $size == true ]]; then
979981
_size="$(du -sh $path/$custom_fs 2> /dev/null | awk '{print $1}') |"

0 commit comments

Comments
 (0)