1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 05:02:40 +00:00

Fix Debian bugs

This commit is contained in:
J. King 2021-07-10 22:47:34 -04:00
parent 40a2856ae8
commit 6c11c9e485
3 changed files with 3 additions and 2 deletions

1
dist/debian/arsse.dirs vendored Normal file
View file

@ -0,0 +1 @@
var/lib/arsse

2
dist/init.sh vendored
View file

@ -16,7 +16,7 @@
PATH=/usr/sbin/:/usr/bin:/sbin:/bin
NAME=arsse
DESC=newsfeed synchronization server
DESC="newsfeed synchronization server"
PIDFILE=/run/arsse.pid
DAEMON=/usr/bin/$NAME

View file

@ -86,7 +86,7 @@ class Daemon {
default:
fclose($pipe[1]);
$result = json_decode(fread($pipe[0], 100), true);
if ($result) {
if (is_array($result)) {
[$class, $symbol, $params] = $result;
throw new $class($symbol, $params);
}