X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=misc%2Fgsu%2Fgui;h=5b108e1ad4521d74ec5a8b6a16c061484c8a0cef;hb=2ca2f1fcffa5d99a177b002c9ef6c76d8b174650;hp=30c95a43d662e17067cc058f1ce0eb14b3f14fe7;hpb=c53b179ee3e4fe45a90f578e1e63852a0a2d6df1;p=gsu.git diff --git a/misc/gsu/gui b/misc/gsu/gui index 30c95a4..5b108e1 100644 --- a/misc/gsu/gui +++ b/misc/gsu/gui @@ -201,6 +201,11 @@ gsu_gui() local tree="$1" subtree _gsu_setup + type -t dialog &> /dev/null + if (($? != 0)); then + gsu_msg "dialog executable not found" + exit 1 + fi _get_root_nodes "$tree" subtree="$result" _browse "$gsu_name main menu" "$tree" "$subtree"