Fix not existing /etc/xdtrc file
[src/xds/xds-server.git] / scripts / sdks / agl / _env-init.sh
index 0f423c4..a08f798 100755 (executable)
@@ -17,7 +17,7 @@
 # limitations under the License.
 ###########################################################################
 
-. /etc/xdtrc
+[ -f /etc/xdtrc ] && . /etc/xdtrc
 
 [ -z "$XDT_SDK" ] && XDT_SDK=/xdt/sdk