Added dump log for connect fail
[platform/core/connectivity/net-config.git] / resources / opt / etc / dump.d / module.d / network_dump.sh
index cf46685..07e230a 100755 (executable)
@@ -6,7 +6,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
 #--------------------------------------
 
 # not allow to use relative path
-if [[ $1 == "/"* ]]; then
+if [[ $0 == "/"* ]]; then
        echo "Absolute path"
 else
        echo "Relative path"