systemd/service-to-run.sh: silence "cp" errors
authorHarald Hoyer <harald@redhat.com>
Thu, 29 Nov 2012 14:52:53 +0000 (15:52 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 14 Dec 2012 08:04:55 +0000 (09:04 +0100)
modules.d/98systemd/service-to-run.sh

index e09acc5..d4225be 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh
 mkdir -p /run/systemd/system/
-cp -d -t /run/systemd/system/ /etc/systemd/system/*
+cp -d -t /run/systemd/system/ /etc/systemd/system/* 2>/dev/null
 exit 0