Skip to content

Commit

Permalink
Check for dialog executeable only when using interactive mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mika committed Jan 30, 2012
1 parent f720b57 commit d31f878
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion grml-debootstrap
Expand Up @@ -264,7 +264,7 @@ stage() {
# }}}

# make sure we have what we need {{{
check4progs debootstrap dialog || bailout 1
check4progs debootstrap || bailout 1
# }}}

# source main configuration file {{{
Expand Down Expand Up @@ -748,6 +748,8 @@ fi
# interactive mode {{{
interactive_mode()
{
check4progs dialog || bailout 1

welcome_dialog

prompt_for_release
Expand Down

0 comments on commit d31f878

Please sign in to comment.