diff --git a/src/etc/inc/config.lib.inc b/src/etc/inc/config.lib.inc index 56f10772a..25d22af92 100644 --- a/src/etc/inc/config.lib.inc +++ b/src/etc/inc/config.lib.inc @@ -313,7 +313,7 @@ function make_config_revision_entry($desc = '') if (!empty($_SESSION['Username'])) { $username = $_SESSION['Username']; } else { - $username = '(' . shell_exec('/usr/bin/whoami') . ')'; + $username = '(' . trim(shell_exec('/usr/bin/whoami')) . ')'; } if (!empty($_SERVER['REMOTE_ADDR'])) {