diff options
author | Roger Leigh <rleigh@debian.org> | 2009-07-05 23:33:11 +0100 |
---|---|---|
committer | Roger Leigh <rleigh@debian.org> | 2009-07-05 23:33:11 +0100 |
commit | 1176d3aacf3ed7f9783e036d47bcdc3ae1e34f02 (patch) | |
tree | 0883f88cf8a195b6797ca722ff765d3340231fe4 /etc | |
parent | 7ac6634d4ec672868694f72070e2aa60aff95f78 (diff) | |
download | schroot-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-x | etc/setup.d/15killprocs | 5 |
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 |