]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
fsck.xfs: do not use 'function' keyword
authorEric Sandeen <sandeen@redhat.com>
Tue, 1 May 2018 02:26:24 +0000 (21:26 -0500)
committerEric Sandeen <sandeen@redhat.com>
Tue, 1 May 2018 02:26:24 +0000 (21:26 -0500)
commit7a58ab019b250a66287a1c91ba3693fef3e15b77
tree46c48f273e067e24cb04a0d77011188859cd8b0a
parent9048c8ba2bc22c1254892667be19d0d69fda2901
fsck.xfs: do not use 'function' keyword

It was pointed out on irc that fsck.xfs uses the 'function' keyword
although it invokes /bin/sh - 'function' is a bashism.  It's not needed
here, so just remove it.

Fixes: 04a2d5d ("fsck.xfs: allow forced repairs using xfs_repair")
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
fsck/xfs_fsck.sh