mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 17:16:15 +02:00
Fix tabs
This commit is contained in:
parent
51800e06de
commit
3fc056927c
1 changed files with 6 additions and 6 deletions
|
@ -294,14 +294,14 @@ static void performOp(bool trusted, unsigned int clientVersion,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case wopIsValidPath: {
|
case wopIsValidPath: {
|
||||||
/* 'readStorePath' could raise an error leading to the connection
|
/* 'readStorePath' could raise an error leading to the connection
|
||||||
being closed. To be able to recover from an invalid path error,
|
being closed. To be able to recover from an invalid path error,
|
||||||
call 'startWork' early, and do 'assertStorePath' afterwards so
|
call 'startWork' early, and do 'assertStorePath' afterwards so
|
||||||
that the 'Error' exception handler doesn't close the
|
that the 'Error' exception handler doesn't close the
|
||||||
connection. */
|
connection. */
|
||||||
Path path = readString(from);
|
Path path = readString(from);
|
||||||
startWork();
|
startWork();
|
||||||
assertStorePath(path);
|
assertStorePath(path);
|
||||||
bool result = store->isValidPath(path);
|
bool result = store->isValidPath(path);
|
||||||
stopWork();
|
stopWork();
|
||||||
writeInt(result, to);
|
writeInt(result, to);
|
||||||
|
|
Loading…
Reference in a new issue