Commit 6ae1d89
committed
builtins: use a warning for
Instead of raising an error. The exit status of the command should be
enough to signify failure.
This avoids the issue where `declare -p UNDEFINED_VAR` is being used to
determine if a variable is defined causing errors when sourcing the
related file or string.declare -p with undefined variables1 parent 1b10d1a commit 6ae1d89
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
0 commit comments