]> git.baikalelectronics.ru Git - kernel.git/commit
scripts: documentation-file-ref-check: Add line break before exit
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 14 Apr 2020 09:41:48 +0000 (17:41 +0800)
committerJonathan Corbet <corbet@lwn.net>
Wed, 15 Apr 2020 21:13:13 +0000 (15:13 -0600)
commitd5f115e6d9e86db7b0782483c134432f3b51686f
treed2dd5e38e5ce5a0a52a5a5192426b59c035a11d5
parentbcb6f2ba11135502f68989e025a7f08f1910d771
scripts: documentation-file-ref-check: Add line break before exit

If execute ./scripts/documentation-file-ref-check in a directory which is
not a git tree, it will exit without a line break, fix it.

Without this patch:

[loongson@localhost linux-5.7-rc1]$ ./scripts/documentation-file-ref-check
Warning: can't check if file exists, as this is not a git tree[loongson@localhost linux-5.7-rc1]$

With this patch:

[loongson@localhost linux-5.7-rc1]$ ./scripts/documentation-file-ref-check
Warning: can't check if file exists, as this is not a git tree
[loongson@localhost linux-5.7-rc1]$

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/1586857308-2040-1-git-send-email-yangtiezhu@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
scripts/documentation-file-ref-check