Skip to content

Commit

Permalink
Allow default answer to be specified in .omni
Browse files Browse the repository at this point in the history
  • Loading branch information
citrus-it committed Sep 25, 2017
1 parent c28734b commit c3102db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/omni
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ fi
: ${omnios_buildrepo:="$wd/repo"}
: ${illumos_env:="$wd/omnios.env"}
: ${role:=1}
: ${answer:=}

banner()
{
Expand All @@ -77,8 +78,6 @@ is()
return 1
}

answer=

ask()
{
typeset a=$answer
Expand Down

0 comments on commit c3102db

Please sign in to comment.