components/openstack/swift/patches/orphans.patch
changeset 1944 56ac2df1785b
parent 1896 f83e6dde6c3b
child 5448 56f4540f741d
--- a/components/openstack/swift/patches/orphans.patch	Tue Jun 10 14:07:48 2014 -0700
+++ b/components/openstack/swift/patches/orphans.patch	Wed Jun 11 17:13:12 2014 -0700
@@ -4,7 +4,7 @@
 diff --git a/bin/swift-orphans b/bin/swift-orphans
 --- a/bin/swift-orphans
 +++ b/bin/swift-orphans
-@@ -42,12 +42,12 @@ Example (sends SIGTERM to all orphaned S
+@@ -54,12 +54,12 @@ Example (sends SIGTERM to all orphaned S
              if name.endswith('.pid'):
                  pids.append(open(os.path.join(root, name)).read().strip())
                  pids.extend(subprocess.Popen(
@@ -19,7 +19,7 @@
              stdout=subprocess.PIPE).communicate()[0].split('\n'):
          if not line:
              continue
-@@ -58,6 +58,7 @@ Example (sends SIGTERM to all orphaned S
+@@ -70,6 +70,7 @@ Example (sends SIGTERM to all orphaned S
              sys.exit('Could not process ps line %r' % line)
          if pid in pids:
              continue