Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c6456ba7d3 |
2
Makefile
2
Makefile
@@ -18,7 +18,7 @@ DESC = This package supplies the core required init scripts for startup
|
|||||||
ARCHIVE := ''
|
ARCHIVE := ''
|
||||||
SRCDIR := $(PWD)/SRC/initscripts
|
SRCDIR := $(PWD)/SRC/initscripts
|
||||||
PATCHDIR := $(PWD)/SRC/patches
|
PATCHDIR := $(PWD)/SRC/patches
|
||||||
VERSION := 1.9-1
|
VERSION := 1.10-0
|
||||||
|
|
||||||
include /usr/share/snap/Makefile.snaplinux
|
include /usr/share/snap/Makefile.snaplinux
|
||||||
|
|
||||||
|
|||||||
@@ -117,7 +117,9 @@ pidofproc() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -r "$pidfile" ]; then
|
if [ -n "$pidfile" ] && [ ! -r "$pidfile" ]; then
|
||||||
|
return 1
|
||||||
|
elif [ -n "$pidfile" ]; then
|
||||||
pids=$(head -1 $pidfile|sed 's/ \+//g')
|
pids=$(head -1 $pidfile|sed 's/ \+//g')
|
||||||
else
|
else
|
||||||
pids=$(pidof "$pathname")
|
pids=$(pidof "$pathname")
|
||||||
|
|||||||
Reference in New Issue
Block a user