aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-modules
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilder-modules')
-rw-r--r--pbuilder-modules2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-modules b/pbuilder-modules
index f28b2db..7568176 100644
--- a/pbuilder-modules
+++ b/pbuilder-modules
@@ -482,7 +482,7 @@ function extractbuildplace () {
exit 1
fi
log "I: creating local configuration"
- hostname -f > "$BUILDPLACE/etc/mailname"
+ hostname -f || hostname -A > "$BUILDPLACE/etc/mailname"
fi
copy_local_configuration