mirror of
https://github.com/EnergyMech/energymech.git
synced 2025-12-29 16:14:43 +00:00
debug() send_uptime() urcapture is_safepath
This commit is contained in:
@@ -130,7 +130,7 @@ void do_greet(COMMAND_ARGS)
|
||||
{
|
||||
if (isfile)
|
||||
{
|
||||
if (!is_safepath(rest))
|
||||
if (is_safepath(rest,FILE_MUST_EXIST) != FILE_IS_SAFE)
|
||||
goto usage;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user