Fixed "tomb search"

This way you can't specify a tomb to search in, but at least it will search for the patterns.
This commit is contained in:
gdrooid 2013-05-30 20:24:51 +02:00
parent 88b24de30a
commit 778bca3864

2
tomb
View File

@ -1537,7 +1537,7 @@ search_tombs() {
die "Cannot index tombs on this system: updatedb not installed" }
# list all open tombs
mounted_tombs=(`list_tomb_mounts $1`)
mounted_tombs=(`list_tomb_mounts`)
{ test ${#mounted_tombs} = 0 } && {
die "I can't see any open tomb, may they all rest in peace." }
yes "Searching for: $fg_bold[white]${=PARAM}$fg_no_bold[white]"