summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorRoger Leigh <rleigh@debian.org>2009-07-05 23:33:11 +0100
committerRoger Leigh <rleigh@debian.org>2009-07-05 23:33:11 +0100
commit1176d3aacf3ed7f9783e036d47bcdc3ae1e34f02 (patch)
tree0883f88cf8a195b6797ca722ff765d3340231fe4 /etc
parent7ac6634d4ec672868694f72070e2aa60aff95f78 (diff)
downloadschroot-1176d3aacf3ed7f9783e036d47bcdc3ae1e34f02.tar.gz
[setup] 15killprocs doesn't abort if there's no mount location set
Not all chroot types set it, so just exit without error if not present.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/setup.d/15killprocs5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/setup.d/15killprocs b/etc/setup.d/15killprocs
index 15374048..08e0b8d6 100755
--- a/etc/setup.d/15killprocs
+++ b/etc/setup.d/15killprocs
@@ -32,9 +32,8 @@ fi
do_kill_all()
{
if [ -z "$1" ]; then
- echo "No path (CHROOT_MOUNT_LOCATION) for finding stray processes" >&2
- echo "This is a bug in schroot. Please report it to the developers"
- exit 1
+ echo "No path for finding stray processes: not reaping processes in chroot"
+ exit 0
fi
if [ "$AUTH_VERBOSITY" = "verbose" ]; then