diff options
Diffstat (limited to 'debian/guest-account.sh')
-rw-r--r-- | debian/guest-account.sh | 2 |
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 |