]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-tests: Fix ss -a not supported
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 16 Sep 2024 02:32:02 +0000 (12:32 +1000)
committerMartin Schwenke <martins@samba.org>
Wed, 6 Nov 2024 23:03:42 +0000 (23:03 +0000)
This is currently just a series of typos.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jerry Heyman <jheyman@ddn.com>
ctdb/tests/UNIT/eventscripts/stubs/ss

index dcd62724179fb4577c3ab4f8c3a84fab7e11ac52..692de2595a44d3dbd93dc691db7bc054ff2a304d 100755 (executable)
@@ -177,8 +177,8 @@ done
 shift $((OPTIND - 1))
 
 $tcp || $unix || not_supported "$*"
-if [ -z "$all" ]; then
-       nosupported "$*"
+if "$all"; then
+       not_supported "$*"
 fi
 
 if $tcp; then