I have tried to add a new item key to capture the read-only directory using the below command.
Key
system.run[ [ -w /mount-dir ] && echo "rw" || echo "ro" ]
but it is failing with the below errors to test.
what is the best way to add [ ] in the item key?
Key
system.run[ [ -w /mount-dir ] && echo "rw" || echo "ro" ]
but it is failing with the below errors to test.
- Incorrect value for field "key_": incorrect syntax near "&& echo "rw" || echo "ro" ]".
what is the best way to add [ ] in the item key?
Comment