Package: btrfs-tools Version: 4.0-2 Followup-For: Bug #784911 Noticed this Bashism as well. Comparing with booleans (or "boolean-like variables" as in this case) is generally not necessary; before I found this bug report I had personally solved it as below using the POSIX built-in behaviour for `true` and `false`, but details do not really matter.
--- /bin/fsck.btrfs.dist 2015-06-18 18:31:38.233523691 +0200 +++ /bin/fsck.btrfs.fixed 2015-06-18 18:32:00.883858768 +0200 @@ -31,7 +31,7 @@ echo "$0: $DEV does not exist" exit 8 fi -if [ "$AUTO" == "false" ]; then +if ! $AUTO; then echo "If you wish to check the consistency of a BTRFS filesystem or" echo "repair a damaged filesystem, see btrfs(8) subcommand 'check'." fi -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 4.0.0-2-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages btrfs-tools depends on: ii e2fslibs 1.42.13-1 ii libblkid1 2.26.2-6 ii libc6 2.19-18 ii libcomerr2 1.42.13-1 ii liblzo2-2 2.08-1.2 ii libuuid1 2.26.2-6 ii zlib1g 1:1.2.8.dfsg-2+b1 btrfs-tools recommends no packages. btrfs-tools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org