mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-08 18:29:45 +00:00
fixed #93
This commit is contained in:
parent
078960f2ca
commit
839a3746d2
1 changed files with 2 additions and 2 deletions
|
@ -104,8 +104,8 @@ rec_get_random() {
|
|||
user_input="$dir"
|
||||
return
|
||||
fi
|
||||
dir=($dir/*)
|
||||
dir=${dir[RANDOM % ${#dir[@]}]}
|
||||
dir=("$dir"/*)
|
||||
dir="${dir[RANDOM % ${#dir[@]}]}"
|
||||
rec_get_random "$dir"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue