From 4ac0e23b1813eebbd9cad148193801cf2ce3f67c Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 26 Jul 2011 17:05:18 -0400 Subject: arch-tmpfiles: avoid subshell in creating empty files install /dev/null as the new file instead of creating an empty file via a no-op process substitution. Signed-off-by: Dave Reisner [tomegun: the commit also adds a similar fix to rc.shutdown] Signed-off-by: Tom Gundersen --- rc.shutdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rc.shutdown') diff --git a/rc.shutdown b/rc.shutdown index 72f2edd..d11aeee 100755 --- a/rc.shutdown +++ b/rc.shutdown @@ -27,7 +27,7 @@ run_hook shutdown_postkillall stat_busy "Saving Random Seed" RANDOM_SEED=/var/lib/misc/random-seed - install -TDm 0600 <(:) $RANDOM_SEED + install -TDm 0600 /dev/null $RANDOM_SEED POOL_FILE=/proc/sys/kernel/random/poolsize if [[ -r $POOL_FILE ]]; then read POOL_SIZE < $POOL_FILE -- cgit v1.2.3