From 778bca386426c7cb402aabc27fb0c1156c5093df Mon Sep 17 00:00:00 2001 From: gdrooid Date: Thu, 30 May 2013 20:24:51 +0200 Subject: [PATCH] Fixed "tomb search" This way you can't specify a tomb to search in, but at least it will search for the patterns. --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index cf74546..cce9ce0 100755 --- a/tomb +++ b/tomb @@ -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]"