[arch-projects] [initscripts][PATCH 3/5] arch-tmpfiles: simplify action invocation

Dave Reisner d at falconindy.com
Sun Dec 25 13:27:14 EST 2011


Signed-off-by: Dave Reisner <dreisner at archlinux.org>
---
Slightly less readable, but more correct.

 arch-tmpfiles |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch-tmpfiles b/arch-tmpfiles
index 859abe5..a5eb535 100755
--- a/arch-tmpfiles
+++ b/arch-tmpfiles
@@ -242,7 +242,7 @@ while read -d '' fragment; do
 		[[ ${line[3]} = '-' ]] && line[3]=0
 		[[ ${line[4]} = '-' ]] && line[4]=0
 
-		_${line[0]} "${line[@]:1}"
+		"_${line[@]}"
 	done <"$FILE"
 done < <(printf '%s\0' "${!fragments[@]}" | sort -z)
 
-- 
1.7.8.1



More information about the arch-projects mailing list