From 05b8d9d7fc4e5d1c64385c157431215acda38852 Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Thu, 11 Aug 2016 16:24:57 -0400 Subject: [PATCH] fix swift_oldies on RH based systems Change-Id: Icbb4c6d461ded4fab2afade09e718b3a74917717 Signed-off-by: Thiago da Silva --- bin/swift-oldies | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/swift-oldies b/bin/swift-oldies index 53845c07e5..46de955dec 100755 --- a/bin/swift-oldies +++ b/bin/swift-oldies @@ -43,8 +43,10 @@ Lists old Swift processes. if not args.startswith(( '/usr/bin/python /usr/bin/swift-', '/usr/bin/python /usr/local/bin/swift-', + '/bin/python /usr/bin/swift-', '/usr/bin/python3 /usr/bin/swift-', - '/usr/bin/python3 /usr/local/bin/swift-')): + '/usr/bin/python3 /usr/local/bin/swift-', + '/bin/python3 /usr/bin/swift-')): continue args = args.split('-', 1)[1] etime = etime.split('-')