Added check
Added a check for dialog install status
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
if ! hash dialog 2>/dev/null; then
|
||||||
|
echo "dialog is not installed"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
working() {
|
working() {
|
||||||
tskpid=$!
|
tskpid=$!
|
||||||
|
|||||||
Reference in New Issue
Block a user