summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Nusinow <dnusinow@debian.org>2006-06-09 02:34:26 +0000
committerDavid Nusinow <dnusinow@debian.org>2006-06-09 02:34:26 +0000
commit34afaedccc1aeb05d2c6a3869f51e78b2dd0d210 (patch)
tree0125e4a16747e9e14668c9fde46d81649b08ce2b
parentf64226c1d9c22e2f6d908bf46e059561748d4418 (diff)
downloadxutils-dev-34afaedccc1aeb05d2c6a3869f51e78b2dd0d210.tar.gz
Fix for bug #371152. Thanks Joey Hess.
-rw-r--r--xsfbs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/xsfbs.sh b/xsfbs.sh
index f0c7482..382b6ec 100644
--- a/xsfbs.sh
+++ b/xsfbs.sh
@@ -254,7 +254,7 @@ find_culprits () {
_possible_culprits=$(ls -1 $_dpkg_info_dir/*.list | egrep -v \
"(xbase-clients|x11-common|xfs|xlibs)")
if [ -n "$_possible_culprits" ]; then
- _smoking_guns=$(grep -l "$1" $_possible_culprits)
+ _smoking_guns=$(grep -l "$1" $_possible_culprits || true)
if [ -n "$_smoking_guns" ]; then
_bad_packages=$(printf "\\n")
for f in $_smoking_guns; do