We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c87495 commit 3aa2b23Copy full SHA for 3aa2b23
needrestart_info.py
@@ -152,10 +152,10 @@ def main():
152
).stdout
153
needrestart_data = NeedRestartData(needrestart_output)
154
except subprocess.CalledProcessError as e:
155
- print(f"Error executing needrestart:\n{e}")
+ print(f"Error executing needrestart:\n{e}", file=sys.stderr)
156
sys.exit(1)
157
except Exception as e:
158
- print(f"An unexpected error occurred:\n{e}")
+ print(f"An unexpected error occurred:\n{e}", file=sys.stderr)
159
160
161
write_timestamp(registry, needrestart_data)
0 commit comments