diff options
Diffstat (limited to 'tools/xmlGenerator/hostDomainGenerator.sh')
-rwxr-xr-x | tools/xmlGenerator/hostDomainGenerator.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/xmlGenerator/hostDomainGenerator.sh b/tools/xmlGenerator/hostDomainGenerator.sh index eeaf7a8..b67261b 100755 --- a/tools/xmlGenerator/hostDomainGenerator.sh +++ b/tools/xmlGenerator/hostDomainGenerator.sh @@ -252,8 +252,12 @@ PFWSendCommand="$remoteProcess $PFWHost $PFWSocket" $PFWSendCommand setTuningMode on -echo "Send the xml domain tunning file: $xmlDomainFilePath" -$PFWSendCommand setDomainsWithSettingsXML "$(cat $xmlDomainFilePath)" +# Send the xml domain tunning file +if test -s "$xmlDomainFilePath" +then + echo "Send the xml domain tunning file: $xmlDomainFilePath" + $PFWSendCommand setDomainsWithSettingsXML "$(cat $xmlDomainFilePath)" +fi # Send the extended domain description routing files converted to pfw commands m4 "$@" | |