diff options
author | Christian Glitzner <christianglitzner@swol.net> | 2014-10-21 14:05:41 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2014-10-21 14:06:35 +0200 |
commit | dd06f7c131a90dd28771f0325996587f8ffd7afe (patch) | |
tree | 776839c3629cc8083eec838ea4e3eeda266427d5 | |
parent | 0388aecd3529559efe7b5560d0b93867bd41a4fc (diff) | |
download | ipset-4.tar.gz |
Fix argument of the tail commandipset-4
tail: cannot open `+118' for reading: No such file or directory
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
-rwxr-xr-x | kernel/patch_kernel | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/patch_kernel b/kernel/patch_kernel index a3f96f0..f01633e 100755 --- a/kernel/patch_kernel +++ b/kernel/patch_kernel @@ -42,7 +42,7 @@ oldmakefile() { lineno=$((lineno-1)) head -n $lineno $file > $file.head lineno=$((lineno+1)) - tail +$lineno $file > $file.tail + tail -n +$lineno $file > $file.tail cp $file $file.orig cat $file.head Makefile.ipset Makefile.export.ipset $file.tail > $file } |