diff --git a/inxi b/inxi index ef8aa8a..20af30c 100755 --- a/inxi +++ b/inxi @@ -14301,7 +14301,7 @@ sub get_self_version { if ( $patch ne '' ){ # for cases where it was for example: 00-b1 clean to -b1 $patch =~ s/^[0]+-?//; - $patch = "-$patch"; + $patch = "-$patch" if $patch; } eval $end if $b_log; return $self_version . $patch;