aboutsummaryrefslogtreecommitdiffstats
path: root/src/etc-cleanup
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-17 18:25:34 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-02-19 20:57:12 -0300
commit3812c139a6580113572f68ea1a8fd277d410777c (patch)
tree52b196e95a9ef510a1dc4c3648610ecb07cbeadb /src/etc-cleanup
parentRELNOTES: add build and docs items (diff)
downloadfirejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.gz
firejail-3812c139a6580113572f68ea1a8fd277d410777c.tar.zst
firejail-3812c139a6580113572f68ea1a8fd277d410777c.zip
Fix EOL at EOF
Commands used to search and replace: $ git grep -Ilz '.' | xargs -0 -I '{}' sh -c \ "printf '%s\n' \"\$(cat '{}')\" >'{}'" The above commands ensure that there is exaclty 1 line terminator at EOF (rather than 0 or more than 1) on all non-empty text files. This fixes all of the "new blank line at EOF" errors raised by git: $ git diff --check 4b825dc642cb6eb9a060e54bf8d69288fbee4904..HEAD | grep '^[^+]' | cut -f 3 -d : | LC_ALL=C sort | uniq -c 21 new blank line at EOF. 72 space before tab in indent. 4 trailing whitespace.
Diffstat (limited to 'src/etc-cleanup')
-rw-r--r--src/etc-cleanup/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc-cleanup/main.c b/src/etc-cleanup/main.c
index a51043e66..1f1a61f88 100644
--- a/src/etc-cleanup/main.c
+++ b/src/etc-cleanup/main.c
@@ -252,4 +252,4 @@ int main(int argc, char **argv) {
252 process_file(argv[i]); 252 process_file(argv[i]);
253 253
254 return 0; 254 return 0;
255} \ No newline at end of file 255}