Added check

Added a check for dialog install status
This commit is contained in:
Bradley Richins
2020-05-18 20:07:31 -06:00
parent 49df59de41
commit 5b730588e6

View File

@@ -1,4 +1,8 @@
#!/bin/bash
if ! hash dialog 2>/dev/null; then
echo "dialog is not installed"
exit
fi
working() {
tskpid=$!