summaryrefslogtreecommitdiffstats
path: root/netconfig
diff options
context:
space:
mode:
authorJakub Jankowski <shasta@toxcorp.com>2017-11-21 02:25:10 +0100
committerRobby Workman <rworkman@slackware.com>2017-11-21 00:07:59 -0600
commitbe0ed30d63f9a374c7e5df200b517fb46322a636 (patch)
treec3b3f136977befd4f2227b5bde607d8463fb0cf4 /netconfig
parentfffe03a02f8d61480cace91dd0612de7ea6be2ca (diff)
downloadslacknetsetup-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 'netconfig')
0 files changed, 0 insertions, 0 deletions