Jonatan Schlag e6fd1f2d38 Fix in pakfire functions.sh
The if statement in line 89 and 99 are useless with the -e
conditional expression because it returns true if the path ist a
regular file or a directory.
So "/etc/init.d/ " returns true and "/etc/init.d/avahi" return also true,
but the statement should return only true if we have a regular file.
So -f if the right conditional expression, and we only try to execute
the init script if the path "/etc/init.d/${1}" points to a regular file.

Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2016-06-16 09:33:26 +01:00
2016-06-16 09:28:34 +01:00
2016-01-22 00:55:46 +00:00
2016-06-01 22:48:28 +01:00
2016-06-16 09:33:26 +01:00
2016-06-01 22:17:10 +01:00
2010-01-22 11:37:55 +01:00
2016-06-16 09:24:22 +01:00
Description
No description provided
101 MiB
Languages
Perl 70.4%
Shell 23%
C 4%
Python 0.6%
Makefile 0.5%
Other 1.4%