# | Line 124 | Line 124 | void Mounter::samba(ipstream& pin) | |
---|---|---|
124 | void Mounter::mount(const string& folder, const string& user, const string& | |
125 | owner) | |
126 | { | |
127 | < | string path = config.root + "/" + host + "/" + folder; |
127 | > | string path = config.root + "/" + host + "/" + (folder[folder.length() - |
128 | > | 1] == '$' ? "." + folder.substr(0, folder.length() - 1) : folder); |
129 | ||
130 | if (mounted.find(path) != mounted.end()) return; | |
131 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |