Bash: max gmux func safe.