Skip to content

Commit

Permalink
Merge branch 'master' of git+ssh://git@github.com/MADhacking/hacking-…
Browse files Browse the repository at this point in the history
…bash-lib
  • Loading branch information
HackingM committed Jul 20, 2020
2 parents c1799bd + 13552a0 commit 19894f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/hacking-bash.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ function is_positive_integer
{
(( $# < 1 )) && return 1

[[ $1 =~ ^([1-9][0-9]*|0)$ ]] && return 0
[[ $1 =~ ^([0-9]+)$ ]] && return 0

return 1
}
Expand Down

0 comments on commit 19894f1

Please sign in to comment.