On Wed, Apr 28, 2021 at 10:09:02PM +0530, Ritesh Raj Sarraf wrote: > On Tue, 2021-04-27 at 15:52 +0200, Julien Cristau wrote: > > > > Apr 27 13:44:47 ubc-enc2bl10/ubc-enc2bl10 systemd-udevd[50553]: > > 'kpartx_id 254 29 mpath-3600c0ff00027786c559a785d01000000'(err) > > '/lib/udev/kpartx_id: 96: /lib/udev/kpartx_id: [[: not found' > > > > /lib/udev/kpartx_id has a /bin/sh shebang, [[ is a bashism, so should > > probably be replaced with the standard "test -n". > > > Maybe I'm doing something very silly. But I don't get the desired > output with "test -n" > You need to quote "$x" and "$y".
Cheers, Julien

