mirror of
https://github.com/tiennm99/old-free-domains.git
synced 2026-10-14 16:17:50 +00:00
fix
This commit is contained in:
1 parent
37a5a7e583
commit
4a0ffa2227
1 file changed
+2
-2
+2
-2
@@ -13,7 +13,7 @@ fs.readdirSync("domains").forEach(file => {
|
||||
const info = `${domain} ${recordType} ${value}`;
|
||||
|
||||
try {
|
||||
exec(`ping ${recordValue}`);
|
||||
exec(`ping -c 1 ${value}`);
|
||||
console.log(`PASS ${info}`);
|
||||
fs.appendFileSync("ping_results.txt", `PASS ${info}\n`);
|
||||
} catch {
|
||||
@@ -25,7 +25,7 @@ fs.readdirSync("domains").forEach(file => {
|
||||
const info = `${domain} ${recordType} ${recordValue}`;
|
||||
|
||||
try {
|
||||
exec(`ping ${recordValue}`);
|
||||
exec(`ping -c 1 ${recordValue}`);
|
||||
console.log(`PASS ${info}`);
|
||||
fs.appendFileSync("ping_results.txt", `PASS ${info}\n`);
|
||||
} catch {
|
||||
|
||||
Reference in new issue
Block a user