diff --git a/zconf/znetconf b/zconf/znetconf index e7f252ee..ba8dec42 100755 --- a/zconf/znetconf +++ b/zconf/znetconf @@ -1128,12 +1128,6 @@ then exit 1 fi -# check existence of ccwgroup devices -if ! [ -d $CCWGROUPBUS_DIR ]; then - print_error "There are no ccwgroup devices" - exit $RC_NO_CCWGROUP -fi - # determine environment check_vm_env @@ -1298,6 +1292,12 @@ then exit $RC_TOO_MUCH_ARGUMENTS fi +# check existence of ccwgroup devices +if ! [ -d $CCWGROUPBUS_DIR ]; then + print_error "There are no ccwgroup devices" + exit $RC_NO_CCWGROUP +fi + # react to parsed options if [ $DO_ADD -eq 1 ] then