mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +02:00
neutrinoyparser: fix invalid logic in func_unmount_get_list
This commit is contained in:
committed by
Jacek Jendrzej
parent
125eb6a7d1
commit
ea30b22119
@@ -794,7 +794,7 @@ std::string CNeutrinoYParser::func_unmount_get_list(CyhookHandler *, std::strin
|
||||
in >> ymount >> ylocal_dir >> yfstype;
|
||||
in.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
|
||||
yfstype = trim(yfstype);
|
||||
if( (yfstype == "nfs") << (yfstype == "ftp") || (yfstype == "lufsd") )
|
||||
if( (yfstype == "nfs") || (yfstype == "ftp") || (yfstype == "lufsd") )
|
||||
{
|
||||
mounts=ylocal_dir +" on "+ ymount + " ("+yfstype+")";
|
||||
ysel = ((j==0) ? "checked=\"checked\"" : "");
|
||||
|
Reference in New Issue
Block a user