command: avoid a double -> int cast

Just check against zero directly.

-------

Seems better anyways; a negative value here wouldn't make much sense.