diff --git a/disko b/disko index f361ebb..10e2fc2 100755 --- a/disko +++ b/disko @@ -87,7 +87,7 @@ while [[ $# -gt 0 ]]; do shift done -if ! ([[ $mode = "create" ]] || [[ $mode = "mount" ]] || [[ $mode = "zap_create_mount" ]]); then +if ! { [[ $mode = "create" ]] || [[ $mode = "mount" ]] || [[ $mode = "zap_create_mount" ]]; }; then abort "mode must be either create, mount or zap_create_mount" fi