mirror of
https://github.com/vgough/encfs.git
synced 2025-02-18 02:31:00 +01:00
And slightly shorten messages
This commit is contained in:
parent
b17838a22e
commit
515196638a
@ -730,7 +730,7 @@ static void *idleMonitor(void *_arg) {
|
||||
}
|
||||
} else {
|
||||
RLOG(WARNING) << "Filesystem " << arg->opts->mountPoint
|
||||
<< " inactivity detected, but still " << openCount
|
||||
<< " inactive, but still " << openCount
|
||||
<< " opened files";
|
||||
}
|
||||
}
|
||||
@ -770,12 +770,12 @@ static bool unmountFS(EncFS_Context *ctx) {
|
||||
rc = system(("/sbin/umount "+std::string(arg->opts->mountPoint)).c_str());
|
||||
if (!rc) {
|
||||
RLOG(WARNING) << "Filesystem " << arg->opts->mountPoint
|
||||
<< " inactivity detected, unmounted";
|
||||
<< " inactive, unmounted";
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
RLOG(ERROR) << "Filesystem " << arg->opts->mountPoint
|
||||
<< " inactivity detected, but failed to unmount";
|
||||
<< " inactive, but unmount failed";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user