Revision 2a0c492d snf-image-helper/common.sh

b/snf-image-helper/common.sh
153 153

  
154 154
check_if_excluded() {
155 155

  
156
    test "$PROGNAME" = "snf-image-helper" && return 0
157

  
158 156
    local exclude=SNF_IMAGE_PROPERTY_EXCLUDE_TASK_${PROGNAME:2}
159 157
    if [ -n "${!exclude}" ]; then
160 158
        warn "Task $PROGNAME was excluded and will not run."
......
166 164

  
167 165
trap cleanup EXIT
168 166

  
169
# Check if the execution of a task should be ommited
170
check_if_excluded
171

  
172 167
# vim: set sta sts=4 shiftwidth=4 sw=4 et ai :

Also available in: Unified diff