summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2012-05-05 16:06:53 +0200
committerTom Gundersen <teg@jklm.no>2012-05-05 16:25:45 +0200
commit86b2cb99028d81a6cb608f09e1a31bc7744a991c (patch)
treedda6ceb5b63787f24f64c84d54013c449422d0e1
parent3d261ea4f9cf59a75326d4771a6c23b0c76e4aa4 (diff)
sysctl: fix compatibility with procps-ng2012.05.1
The interface changed slightly, from "-p <file>" to "-p<file>", compared with procps. Reported-by: Boris <projekte@public-files.de> Suggested-by: Eric Belanger <eric@archlinux.org> Signed-off-by: Tom Gundersen <teg@jklm.no>
-rwxr-xr-xarch-sysctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch-sysctl b/arch-sysctl
index e27369d..f73f1f0 100755
--- a/arch-sysctl
+++ b/arch-sysctl
@@ -23,7 +23,7 @@ for path in "${@:-${sysctl_d[@]}}"; do
done
for path in "${fragments[@]}"; do
- sysctl -q -p "$path"
+ sysctl -q -p"$path"
done
# vim: set ts=2 sw=2 noet: