Public bug reported:

The only reason showfsck uses #!/bin/bash instead of #!/bin/sh is
arithmetic evaluation.

The line NB=$(($MMC - $MC + 1)) in /usr/sbin/showfsck can be changed to
NB=$(expr $MMC - $MC + 1) to make the script shell-agnostic.
/usr/bin/expr is in coreutils package, which has priority 'required'
both in Ubuntu and Debian.

** Affects: showfsck (Ubuntu)
     Importance: Undecided
         Status: New

-- 
No need to be bash-specific
https://bugs.launchpad.net/bugs/188070
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to