Skip to content

Commit cdb2c68

Browse files
author
Marius Cramer
committed
- fixed unlinking of hhvm init script
1 parent 9b0ee8d commit cdb2c68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/apache2_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2778,7 +2778,7 @@ private function hhvm_update($data, $web_config) {
27782778
} elseif($data['new']['php'] != 'hhvm' && $data['old']['php'] == 'hhvm') {
27792779
exec('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' stop >/dev/null 2>&1');
27802780
exec('/usr/sbin/update-rc.d hhvm_' . $data['old']['system_user'] . ' remove >/dev/null 2>&1');
2781-
unlink('/etc/init.d/hhvm_' . $data['old']['system_user'] . ' >/dev/null 2>&1');
2781+
unlink('/etc/init.d/hhvm_' . $data['old']['system_user']);
27822782
}
27832783
}
27842784

0 commit comments

Comments
 (0)