--title"Select video mode"--clear--menu""$((6+${LIST_LENGHT})) 25 $((1+${LIST_LENGHT}))"${LIST[@]}" 2>&1 1>&3)
--title"Select video mode"--clear--menu""$((6+${LIST_LENGTH})) 25 $((1+${LIST_LENGTH}))"${LIST[@]}" 2>&1 1>&3)
exec 3>&-
fi
...
...
@@ -577,9 +577,9 @@ function add_choose_user ()
do
LIST+=("${i[0]//[[:blank:]]/}""")
done
LIST_LENGHT=$((${#LIST[@]}/2));
LIST_LENGTH=$((${#LIST[@]}/2));
if["$LIST_LENGHT"-eq 0 ];then
if["$LIST_LENGTH"-eq 0 ];then
dialog --backtitle"$BACKTITLE"--title" Notice "--msgbox"\nWe didn't find any unprivileged user with sudo rights which is required to run this service.\
disclaimer=$disclaimer"\n\Z1Note\Zn: This tool can be successful only when drivers are in good shape. If autodetection fails, you are on your own.\n "
disclaimer=$disclaimer"\n\Z1Note\Zn: This tool can be successful only when drivers are configured properly. If auto-detection fails, you are on your own.\n "