summaryrefslogtreecommitdiff
path: root/update-me.in
diff options
context:
space:
mode:
Diffstat (limited to 'update-me.in')
-rw-r--r--update-me.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-me.in b/update-me.in
index 69da18b..dfce7bb 100644
--- a/update-me.in
+++ b/update-me.in
@@ -4,7 +4,7 @@ preCmds=('hostname')
cmds=()
postCmds=('sync')
-if which check-kernel >/dev/null 2>&1; then
+if command -v check-kernel >/dev/null; then
postCmds+=('check-kernel -r')
fi