From 7c91dea0ea9d49ac5a1cad85a2e826b7834914b6 Mon Sep 17 00:00:00 2001 From: Levi Neely Date: Sun, 8 Mar 2026 10:47:20 +0100 Subject: [PATCH] Restore shutdown_requested definition removed during rebase conflict resolution The variable is declared extern in pfs.h and referenced in both pfs.c (psync_signal_handler) and control_tools.cpp; the definition must exist in pfs.c. Co-Authored-By: Claude Sonnet 4.6 --- pclsync/pfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pclsync/pfs.c b/pclsync/pfs.c index 529809f..0a801b9 100644 --- a/pclsync/pfs.c +++ b/pclsync/pfs.c @@ -91,6 +91,7 @@ typedef off_t fuse_off_t; #define PSYNC_FS_ERR_MOVE_ACROSS_CRYPTO EXDEV static int shutdown_in_progress = 0; +volatile sig_atomic_t shutdown_requested = 0; static struct fuse *psync_fuse = NULL; #if FUSE_USE_VERSION < 30 static struct fuse_chan *psync_fuse_channel = NULL;