mirror of
https://github.com/hackacad/bastille.git
synced 2025-12-30 17:30:24 +01:00
Update migrate.sh
This commit is contained in:
@@ -115,6 +115,13 @@ while [ "$#" -gt 0 ]; do
|
||||
esac
|
||||
done
|
||||
|
||||
# Validate options
|
||||
if [ "${LIVE}" -eq 1 ]; then
|
||||
if ! checkyesno bastille_zfs_enable; then
|
||||
error_exit "[ERROR]: [-l|--live] can only be used with ZFS systems."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$#" -ne 2 ]; then
|
||||
usage
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user