Package: tinc
Version: 1.1~pre11-1
Followup-For: Bug #777262

I've created a minimal test case to show the difference
between dash and bash. Not sure which one is correct...

#!/bin/sh
set -e
set -x

# a file with an empty line
echo > empty.conf

# set $? to 1
false && exit 0

# dash doesn't reset $?, but bash resets(?)
# $? is still 1?
. ./empty.conf || echo "this line fails"

# end of script


Regards,
Yixuan


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages tinc depends on:
ii  libc6         2.19-14
ii  liblzo2-2     2.08-1.2
ii  libncurses5   5.9+20140913-1
ii  libreadline6  6.3-8+b3
ii  libssl1.0.0   1.0.1k-1
ii  libtinfo5     5.9+20140913-1
ii  zlib1g        1:1.2.8.dfsg-2+b1

tinc recommends no packages.

tinc suggests no packages.

-- Configuration Files:
/etc/network/if-pre-up.d/tinc changed [not included]

-- 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

Reply via email to