Upgrading to GitLab 11.10.0. Expect errors and see debian-infrastructure-announce@lists.debian.org for further information.

Commit 38f99b8e authored by Bas Zoetekouw's avatar Bas Zoetekouw

Fix init.d error when DebugFS is already mounted (Closes: #705269)

parent 07d1cb9a
......@@ -33,7 +33,7 @@ then
fi
# find where (if anywhere) debugfs is mounted
mountpoints=$(
mountpoints=$(
awk '$3 == "debugfs" { print $2 }' < /proc/mounts
)
......@@ -82,7 +82,7 @@ mount_debugfs ()
umount_debugfs ()
{
if [ $mountpoints ]
if [ "$mountpoints" ]
then
for d in $mountpoints
do
......@@ -91,7 +91,7 @@ umount_debugfs ()
if umount $d
then
log_success_msg "Unmounted debugfs from $d"
else
else
log_failure_msg "Couln't unmount debugfs from $d"
fi
fi
......@@ -103,7 +103,7 @@ umount_debugfs ()
show_status ()
{
if [ $mountpoints ]
if [ "$mountpoints" ]
then
for d in $mountpoints
do
......
......@@ -3,6 +3,7 @@ blktrace (1.1.0-3) UNRELEASED; urgency=medium
* Update VCS links to salsa.debian.org
* Remove dependency on lsb-base (Closes: #873470)
* Change SUggests from libav-tools to ffmpeg (Closes: #895915)
* Fix init.d error when DebugFS is already mounted (Closes: #705269)
-- Bas Zoetekouw <bas@debian.org> Sat, 19 May 2018 21:49:22 +0200
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment