checkdot now works correctly
This commit is contained in:
@@ -172,10 +172,8 @@ char * find_path(file)
|
|||||||
/*
|
/*
|
||||||
* check current dir if dot was in the PATH
|
* check current dir if dot was in the PATH
|
||||||
*/
|
*/
|
||||||
if (!result && checkdot) {
|
if (!result && checkdot)
|
||||||
path = ".";
|
result = sudo_goodpath(file);
|
||||||
result = sudo_goodpath(command);
|
|
||||||
}
|
|
||||||
|
|
||||||
(void) free(origpath);
|
(void) free(origpath);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user