-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4ef6681
commit ede27ac
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
versions/v3.1.2/server/proxmox-backup~fix-kernel-version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/www/panel/NodeInfo.js b/www/panel/NodeInfo.js | ||
index 72f97c7c..b8b2c4cc 100644 | ||
--- a/www/panel/NodeInfo.js | ||
+++ b/www/panel/NodeInfo.js | ||
@@ -151,7 +151,7 @@ Ext.define('PBS.NodeInfoPanel', { | ||
return data.kversion; | ||
} | ||
let kernel = data['current-kernel']; | ||
- let buildDate = kernel.version.match(/\((.+)\)\s*$/)[1] ?? 'unknown'; | ||
+ let buildDate = kernel.version; | ||
return `${kernel.sysname} ${kernel.release} (${buildDate})`; | ||
}, | ||
value: '', |