aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdbx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbx b/dbx
index ae38e35..6998234 100755
--- a/dbx
+++ b/dbx
@@ -269,7 +269,7 @@ ssh_user() {
if [ -n "$asroot" ]; then
user="root"
else
- user="%u"
+ user="$(id -un)"
fi
printf "User=%s\n" "$user"
}