-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Syntax Error with TrueNAS 13.0U6 #36
Comments
This script is expecting bash, the default shell on FreeBSD is zsh, which might not support the exact same syntax as bash. Probably even bash isn't identical on all platforms. Try running it using bash, otherwise the script will probably not work as is. Also see #35 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I try to execute this script in a standard GUI root shell, it fails with the following erorr:
/root/zfs-inplace-rebalancing.sh: 28: Syntax error: "(" unexpected
Is this expected? What can I do to mitigate the issue? Other .sh scripts here execute without issues. This version of TrueNAS runs on FreeBSD13.1 release p9.
The text was updated successfully, but these errors were encountered: