#!/bin/sh set -e kthresher -d 2>&1 | tee -a kthresher.log grep -q "No packages available for autoremoval." kthresher.log