scripts/Lindent: handle missing indent gracefully
authorJean Delvare <jdelvare@suse.de>
Fri, 4 Sep 2015 22:43:24 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commitfa70900e0984792cc45a9e51c28684c3287058c2
tree897a35925cda919d4b8d2eed19a0269a54f521f5
parentd40e1e6532efbb40f8fc1f5af093063a3d186754
scripts/Lindent: handle missing indent gracefully

If indent is not found, bail out immediately instead of spitting random
shell script error messages.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Lindent