mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
neutrinoyparser: fix invalid logic in func_unmount_get_list
Origin commit data
------------------
Commit: b5cef9a2aa
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-23 (Sat, 23 Sep 2017)
This commit is contained in:
@@ -794,7 +794,7 @@ std::string CNeutrinoYParser::func_unmount_get_list(CyhookHandler *, std::strin
|
|||||||
in >> ymount >> ylocal_dir >> yfstype;
|
in >> ymount >> ylocal_dir >> yfstype;
|
||||||
in.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
|
in.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
|
||||||
yfstype = trim(yfstype);
|
yfstype = trim(yfstype);
|
||||||
if( (yfstype == "nfs") << (yfstype == "ftp") || (yfstype == "lufsd") )
|
if( (yfstype == "nfs") || (yfstype == "ftp") || (yfstype == "lufsd") )
|
||||||
{
|
{
|
||||||
mounts=ylocal_dir +" on "+ ymount + " ("+yfstype+")";
|
mounts=ylocal_dir +" on "+ ymount + " ("+yfstype+")";
|
||||||
ysel = ((j==0) ? "checked=\"checked\"" : "");
|
ysel = ((j==0) ? "checked=\"checked\"" : "");
|
||||||
|
Reference in New Issue
Block a user