Changed code to use Bash's improved Conditional Expressions `[[` instead of `[`. Also formatted the code.
Changed code to use Bash's improved Conditional Expressions `[[` instead of `[`. Also formatted the code.

Since all the modified are supposed to run as Bash Scripts, its better to use Bash's new and improved conditional expressions. Makes the code simpler and more intuitive.

Signed-off-by: Shubham Bhattar <d9dab16fd685629b3915a55746bce90c853a9a37@users.noreply.github.com>
yudaykiran/openebs