Shut up a Valgrind warning
This commit is contained in:
		
							parent
							
								
									f52b6c944e
								
							
						
					
					
						commit
						46f3eb6fdd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -499,7 +499,7 @@ void LocalStore::makeStoreWritable()
 | 
			
		|||
        if (unshare(CLONE_NEWNS) == -1)
 | 
			
		||||
            throw SysError("setting up a private mount namespace");
 | 
			
		||||
 | 
			
		||||
        if (mount(0, settings.nixStore.c_str(), 0, MS_REMOUNT | MS_BIND, 0) == -1)
 | 
			
		||||
        if (mount(0, settings.nixStore.c_str(), "none", MS_REMOUNT | MS_BIND, 0) == -1)
 | 
			
		||||
            throw SysError(format("remounting %1% writable") % settings.nixStore);
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue