diff options
Diffstat (limited to 'test/sh')
-rwxr-xr-x | test/sh | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,7 +1,6 @@ #!/bin/sh for sh in sh/* sh/profile.d/* ; do - if [ -f "$sh" ] && ! sh -n "$sh" ; then - exit 1 - fi + [ -f "$sh" ] || continue + sh -n "$sh" || exit done printf 'All sh(1) scripts parsed successfully.\n' |