Skip to content

Commit

Permalink
Applied fix from patch 1037010, submitted by mator.
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiew committed Sep 30, 2004
1 parent fb0d934 commit dc61917
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ltpmenu
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,12 @@ PASSWD=" "
RUNALL_FLAGS=" "
RESULTS_FILE=" "

# test for dialog program exist
if [ ! -x /usr/bin/dialog ]; then
echo "Sorry, ltpmenu GUI not available, can't find dialog. Exiting...";
exit 1;
fi

# call cleanup function on program exit.
trap "cleanup" 0

Expand Down

0 comments on commit dc61917

Please sign in to comment.