Comment 43 for bug 2065037

Revision history for this message
Stefano (luckylinux777) wrote (last edit ):

Probably I had an error in the code, although no error was raised (or at least I didn't catch it):
```
                if [ -z "${DEVICE}" ]; then
                        # _set_available_devices_to_up
                fi
```

An empty if-statement is not valid (at least in BASH it's not acceptable).

Trying to correct to:
```
                if [ -z "${DEVICE}" ]; then
                        # _set_available_devices_to_up
                        local dummyvar=1
                fi

```