forked from ungleich-public/cdist
parent
41186d66d4
commit
4eaace7dd5
1 changed files with 5 additions and 0 deletions
|
@ -39,6 +39,11 @@ else
|
|||
file="/$__object_id"
|
||||
fi
|
||||
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "file_missing"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
awk -v position="$position" -v needle="$needle" '
|
||||
function _find(_text, _pattern) {
|
||||
if (needle == "regex") {
|
||||
|
|
Loading…
Reference in a new issue