diff options
Diffstat (limited to 'src/extsh.cpp')
| -rw-r--r-- | src/extsh.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extsh.cpp b/src/extsh.cpp index 477f6c8..87df7d3 100644 --- a/src/extsh.cpp +++ b/src/extsh.cpp @@ -8,7 +8,7 @@ int main(int argc, char const * argv[]) auto const & path = [&]{ return std::string{argc > 1 ? argv[1] : "vdisk.img"}; }(); auto const & disk = fs::extfs{path}; - if(disk) + if(disk.open()) { std::clog << "[EXT2] Successfully opened ext*fs at: '" << path << "'\n"; } |
