Skip to content

Commit

Permalink
geninit: dont error on EEXIST for adding explicit modules
Browse files Browse the repository at this point in the history
  • Loading branch information
falconindy committed Jun 5, 2011
1 parent c75b2b1 commit 00c0296
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion geninit
Expand Up @@ -248,7 +248,8 @@ __build_image() { # {{{


# add extra modules from config # add extra modules from config
for mod in ${modules[@]}; do for mod in ${modules[@]}; do
add_module "$mod" || (( ++errors )) add_module "$mod"
[[ $? = @(0|$EEXIST) ]] || (( ++errors ))
done done


# add extra files from config # add extra files from config
Expand Down

0 comments on commit 00c0296

Please sign in to comment.