mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 11:37:03 +00:00
Modified error message.
This commit is contained in:
parent
1aeccbe51d
commit
2b574bafa2
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* See the README file for copyright information and how to reach the author.
|
* See the README file for copyright information and how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: protocolext.c,v 1.9 2007/10/19 22:54:03 rahrenbe Exp $
|
* $Id: protocolext.c,v 1.10 2007/10/19 22:56:25 rahrenbe Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
@ -278,7 +278,7 @@ bool cIptvProtocolExt::Set(const char* Location, const int Parameter, const int
|
|||||||
free(scriptFile);
|
free(scriptFile);
|
||||||
asprintf(&scriptFile, "%s/%s", IptvConfig.GetConfigDirectory(), Location);
|
asprintf(&scriptFile, "%s/%s", IptvConfig.GetConfigDirectory(), Location);
|
||||||
if ((stat(scriptFile, &stbuf) != 0) || (strstr(scriptFile, "..") != 0)) {
|
if ((stat(scriptFile, &stbuf) != 0) || (strstr(scriptFile, "..") != 0)) {
|
||||||
error("ERROR: Non-existent script '%s'", scriptFile);
|
error("ERROR: Non-existent or relative path script '%s'", scriptFile);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
scriptParameter = Parameter;
|
scriptParameter = Parameter;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user