ProtonVPN: add basic detection (#2006)

This commit is contained in:
Ivan Nardi
2023-06-08 16:52:55 +02:00
committed by GitHub
parent 7dcceb4daf
commit 3e673e91a9
14 changed files with 1928 additions and 228 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ function is_file_empty()
exit 1
fi
if [ `cat "${file}" | wc -l` -eq 0 ]; then
if [ `cat "${file}" | wc -c` -eq 0 ]; then
printf '%s error: %s\n' "${0}" "file ${file} empty!" >&2
exit 1
fi