Skip to content

Commit 45b3280

Browse files
committed
improved readability
1 parent 9ff0dc5 commit 45b3280

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tailscale/rootfs/usr/lib/core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function core.api() {
3131
data="${1}"; shift
3232
fi
3333
local filter=
34-
if [[ ! -z "${1:-}" && "${1::1}" != "-" ]]; then
34+
if [[ -n "${1:-}" && "${1::1}" != "-" ]]; then
3535
filter="${1}"; shift
3636
fi
3737

0 commit comments

Comments
 (0)