From 06c5663f753f4f518a9dc6aa35b934e6cfa6acc7 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 28 Dec 2019 00:17:56 +0900 Subject: [PATCH] Do not move the socket file on migration --- lightningd/options.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lightningd/options.c b/lightningd/options.c index 7117b1b10..b20bd3ea0 100644 --- a/lightningd/options.c +++ b/lightningd/options.c @@ -915,6 +915,7 @@ static void promote_missing_files(struct lightningd *ld) if (streq(d->d_name, ".") || streq(d->d_name, "..") || streq(d->d_name, "config") + || streq(d->d_name, "lightning-rpc") || strends(d->d_name, ".pid")) continue;