]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
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 e09acc595c7e89203821b81bacaefc6643a8c8df..d4225be1beac6fbd7a5a6b1e32641530a3f0d24d 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