Commit 1c07cec8 authored by Marc Vef's avatar Marc Vef
Browse files

Separating running FS instance from extension

parent b32a29ca
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ wait_for_gkfs_daemons() {
            exit 1
        fi
    done
    echo "# End of current FS instance" >> "${HOSTSFILE}"
}
#######################################
# Creates a pid file for a given pid. If pid file exists, we check if its pids are still valid.
+5 −1
Original line number Diff line number Diff line
@@ -161,6 +161,10 @@ load_hostfile(const std::string& path) {
    string uri;
    std::smatch match;
    while(getline(lf, line)) {
        // if line starts with #, it indicates the end of current FS instance
        // It is therefore skipped
        if(line[0] == '#')
            continue;
        if(!regex_match(line, match, line_re)) {

            LOG(ERROR, "Unrecognized line format: [path: '{}', line: '{}']",