diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-09 15:39:56 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-09 15:39:56 +0200 |
commit | bdb80424adb6a3d0b37285f817118592f4e21b18 (patch) | |
tree | f447005becd79b0d2c1e5dee557428f9a66772eb /admin/api/getUbuntuUpgrades.php | |
parent | 94c57fa247ba107fce8fc1d1fc355191229dbddc (diff) | |
download | main-bdb80424adb6a3d0b37285f817118592f4e21b18.tar.gz main-bdb80424adb6a3d0b37285f817118592f4e21b18.tar.bz2 main-bdb80424adb6a3d0b37285f817118592f4e21b18.zip |
Securing the security
Diffstat (limited to 'admin/api/getUbuntuUpgrades.php')
-rw-r--r-- | admin/api/getUbuntuUpgrades.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/api/getUbuntuUpgrades.php b/admin/api/getUbuntuUpgrades.php index 8273036..ca49f38 100644 --- a/admin/api/getUbuntuUpgrades.php +++ b/admin/api/getUbuntuUpgrades.php @@ -2,7 +2,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/admin/private/header.api.php";
-exec("bash -c \"sudo do-release-upgrade -c | grep 'New release'\"", $ret);
+exec("bash -c \"sudo mtsp-do-release-upgrade | grep 'New release'\"", $ret);
if (count($ret) === 1) {
echo(l("<b>Ubuntu " . explode("'", $ret[0])[1] . "</b> is available, use <code>do-release-upgrade</code> to upgrade", "<b>Ubuntu " . explode("'", $ret[0])[1] . "</b> est disponible, exécutez la commande <code>do-release-upgrade</code> pour effectuer la mise à niveau"));
} else {
|