diff --git a/core/upgrade/upgrade.php b/core/upgrade/upgrade.php index 379151d2a..98363e0d7 100644 --- a/core/upgrade/upgrade.php +++ b/core/upgrade/upgrade.php @@ -437,8 +437,8 @@ // Get the file contents $file_contents = file_get_contents($service_file); - // Check if "/etc/freeswitch" exists in the file contents - $file_updated = strpos($file_contents, '/etc/freeswitch') !== false; + // Check if "ReadWritePaths" exists in the file contents + $file_updated = strpos($file_contents, 'ReadWritePaths') !== false; // Check if the service file is writable $file_writable = is_writable($service_file);