diff options
author | Jakub Jankowski <shasta@toxcorp.com> | 2017-11-21 02:25:10 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackware.com> | 2017-11-21 00:07:59 -0600 |
commit | be0ed30d63f9a374c7e5df200b517fb46322a636 (patch) | |
tree | c3b3f136977befd4f2227b5bde607d8463fb0cf4 /manpages/rc.inet1.8 | |
parent | fffe03a02f8d61480cace91dd0612de7ea6be2ca (diff) | |
download | slacknetsetup-be0ed30d63f9a374c7e5df200b517fb46322a636.tar.xz |
rc.inet1: Use simple test (-n/-z) for non-empty/empty
sh has built-in test for non-empty (-n) and empty (-z) variables, so
let's use them. Also, quote variables, especially in tests (if [ ])
and array expansion (${foo[@]}).
Signed-off-by: Robby Workman <rworkman@slackware.com>
Diffstat (limited to 'manpages/rc.inet1.8')
0 files changed, 0 insertions, 0 deletions