forked from ungleich-public/cdist
changed if statement:
from if [ != ]; to if [ ];
This commit is contained in:
parent
672aa13316
commit
62e1ecdd08
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ contains_element() {
|
|||
MATCH=0
|
||||
}
|
||||
|
||||
if [ "${file}" != "" ]; then
|
||||
if [ "${file}" ]; then
|
||||
__file "${sec_path}/plain_file_${file}"\
|
||||
--state exists --mode 666
|
||||
|
||||
|
|
Loading…
Reference in a new issue