these should also be readonly

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-01-22 20:08:48 +03:00
parent 9516f9d5fe
commit 92b54483bd

3
ssm
View File

@ -3,6 +3,7 @@ shopt -s nullglob
# Utility functions
is_function() [[ $(type -t $1 2>/dev/null) == 'function' ]]
readonly -f is_function
var() {
declare varname=$1; shift
@ -97,7 +98,7 @@ var() {
;;
esac
fi
}
}; readonly -f var
## Die. Why not?
die() {