summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/guest-account.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/guest-account.sh b/debian/guest-account.sh
index 63d3b1f7..675eb778 100644
--- a/debian/guest-account.sh
+++ b/debian/guest-account.sh
@@ -80,7 +80,7 @@ add_account ()
exit 1
}
- if [ -d ${site_gs}/skel ] && [ -n $(find ${site_gs}/skel -type f) ]; then
+ if [ -d ${site_gs}/skel ] && [ "$(ls -A ${site_gs}/skel)" ]; then
# Only perform union-mounting if BindFS is available
if [ -x /usr/bin/bindfs ]; then
bindfs_mount=true