Blame SOURCES/BZ-1630197-needs-restarting-clarify-exit-code.patch

82bba0
diff --git a/docs/needs-restarting.1 b/docs/needs-restarting.1
82bba0
index 7910e25..0e7a591 100644
82bba0
--- a/docs/needs-restarting.1
82bba0
+++ b/docs/needs-restarting.1
82bba0
@@ -15,7 +15,7 @@ Display a help message, and then quit.
82bba0
 .IP "\fB\-u, \-\-useronly\fP"
82bba0
 Show processes for my userid only.
82bba0
 .IP "\fB\-r, \-\-reboothint\fP"
82bba0
-Only report whether a full reboot is required (returns 1) or not (returns 0).
82bba0
+Only report whether a full reboot is required (exit code 1) or not (exit code 0).
82bba0
 .IP "\fB\-s, \-\-services\fP"
82bba0
 List the affected systemd services only.
82bba0
 
82bba0
diff --git a/needs-restarting.py b/needs-restarting.py
82bba0
index c2d5ad9..eaafd9d 100755
82bba0
--- a/needs-restarting.py
82bba0
+++ b/needs-restarting.py
82bba0
@@ -63,8 +63,8 @@ def parseargs(args):
82bba0
     parser.add_option("-u", "--useronly", default=False, action="store_true",
82bba0
       help='show processes for my userid only')
82bba0
     parser.add_option("-r", "--reboothint", default=False, action="store_true",
82bba0
-      help=('only report whether a full reboot is required (returns 1) or not '
82bba0
-            '(returns 0)'))
82bba0
+      help=('only report whether a full reboot is required (exit code 1) or '
82bba0
+            'not (exit code 0)'))
82bba0
     parser.add_option("-s", "--services", default=False, action="store_true",
82bba0
       help='list the affected systemd services only')
82bba0