Closed alansartorio closed 11 months ago
I checked that the usage of $portsFile after that wont be affected by it being /dev/null. Couldn't find a better solution
$portsFile
/dev/null
Would it be better to echo '[]' > $portsFile ?
echo '[]' > $portsFile
I think you are right
I checked that the usage of
$portsFile
after that wont be affected by it being/dev/null
. Couldn't find a better solution