]> git.ipfire.org Git - pakfire.git/commitdiff
snapshots: Overlayfs does not like colons in the directory name
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Oct 2024 15:00:31 +0000 (15:00 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 18 Oct 2024 15:00:31 +0000 (15:00 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/snapshot.c

index 599936b1f2a808bd46b4a0a09670a4a37f86b0af..80c2f5c6c4a80cdf8a2fd1100d994eb538eb43ab 100644 (file)
@@ -459,7 +459,7 @@ int pakfire_snapshot_make(struct pakfire_snapshot** snapshot,
        struct pakfire_ctx* ctx = pakfire_ctx(pakfire);
 
        // Store the current time
-       r = pakfire_strftime_now(time, "%Y-%m-%d-%H:%M:%S");
+       r = pakfire_strftime_now(time, "%Y-%m-%d-%H%M%S");
        if (r < 0)
                goto ERROR;