diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/live-helpers | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers index e1f69dd..619cbb4 100644 --- a/scripts/live-helpers +++ b/scripts/live-helpers @@ -33,6 +33,12 @@ is_supported_fs () { fstype="${1}" + # Validate input first + if [ -z "${fstype}" ] + then + return 1 + fi + # Try to look if it is already supported by the kernel if grep -q ${fstype} /proc/filesystems then |
