diff --git a/feeds/ucentral/uspot/files/usr/share/uspot/portal.uc b/feeds/ucentral/uspot/files/usr/share/uspot/portal.uc index c693b0348..98f6099b3 100644 --- a/feeds/ucentral/uspot/files/usr/share/uspot/portal.uc +++ b/feeds/ucentral/uspot/files/usr/share/uspot/portal.uc @@ -221,8 +221,7 @@ return { let reply = this.fs_popen('/usr/bin/radius-client ' + path); - if (!+config.def_captive.debug) - fs.unlink(path); + fs.unlink(path); return reply; }, diff --git a/feeds/ucentral/uspot/files/usr/share/uspot/uspot.uc b/feeds/ucentral/uspot/files/usr/share/uspot/uspot.uc index 17badfbf1..4953310a9 100755 --- a/feeds/ucentral/uspot/files/usr/share/uspot/uspot.uc +++ b/feeds/ucentral/uspot/files/usr/share/uspot/uspot.uc @@ -76,8 +76,7 @@ function radius_call(interface, mac, payload) { system('/usr/bin/radius-client ' + path); - if (!+interfaces[interface].settings.debug) - fs.unlink(path); + fs.unlink(path); } // RADIUS Acct-Status-Type attributes