Skip to content

Commit 824d2d0

Browse files
committed
Make missing file non-fatal
1 parent 9aca3c6 commit 824d2d0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/common/_base/files/nmstate-configuration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ contents:
2525
elif [ -s "$src_path/$default_file" ]; then
2626
config_file=$default_file
2727
else
28-
echo "No configuration found at $src_path/$host_file or $src_path/$cluster_file"
29-
exit 1
28+
echo "No configuration found at $src_path/$host_file, $src_path/$cluster_file, or $src_path/$default_file"
29+
exit 0
3030
fi
3131
3232
if [ -e "$src_path/applied" ]; then

0 commit comments

Comments
 (0)