Skip to content

Commit b783576

Browse files
committed
Use --quiet when calling start update-motd
1 parent ee1cf36 commit b783576

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

srpm/cron_update-motd

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
start update-motd
2+
start --quiet update-motd

srpm/update-motd.spec

+1
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,4 @@ fi
6767
%ghost /var/lib/update-motd/motd
6868

6969
%changelog
70+

srpm/yum_update-motd.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
def posttrans_hook(conduit):
2121
try:
2222
if not os.path.exists('/var/lib/update-motd/disabled'):
23-
subprocess.Popen(['/sbin/start', 'update-motd'], stdout=open('/dev/null', 'w'), stderr=subprocess.STDOUT)
23+
subprocess.Popen(['/sbin/start', '--quiet', 'update-motd'], stdout=open('/dev/null', 'w'), stderr=subprocess.STDOUT)
2424
except:
2525
return

0 commit comments

Comments
 (0)