summaryrefslogtreecommitdiff
path: root/bin/ii-connect
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ii-connect')
-rwxr-xr-xbin/ii-connect7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/ii-connect b/bin/ii-connect
index 7ac589c..bb775a9 100755
--- a/bin/ii-connect
+++ b/bin/ii-connect
@@ -94,10 +94,9 @@ if [ "$1" = 'watch' ]; then
p
' "${out_file}" | \
while read -r line; do
- reason=$(
- echo "${line}" | \
- xargs "${base_dir}/bin/wtf" 2>&1
- )
+ if ! reason=$(pkgfile "${line}"); then
+ reason="Huh, I don't know that one."
+ fi
if [ "$(echo "${reason}" | wc -l)" -le 5 ]; then
echo "${reason}"
else