check for yes

This commit is contained in:
Kaiwan N Billimoria
2024-02-14 07:57:41 +05:30
parent fea352ac4c
commit 3e9fff4364

View File

@@ -11,4 +11,8 @@ which taskset >/dev/null || {
echo "Pl first install the taskset utility"
exit 1
}
which yes >/dev/null || {
echo "Pl first install the 'yes' utility"
exit 1
}
taskset -c $1 yes > /dev/null