diff --git a/quickemu b/quickemu index 4f3ef1b2fb..69c0c25591 100755 --- a/quickemu +++ b/quickemu @@ -886,7 +886,7 @@ function vm_boot() { fi # If smbd is available and ~/Public is present export it to the guest via samba - if [[ -e "/usr/sbin/smbd" && -n ${PUBLIC} ]]; then + if [[ -x "$(command -v smbd)" && -n ${PUBLIC} ]]; then NET="${NET},smb=${PUBLIC}" echo " - smbd: On guest: smb://10.0.2.4/qemu" fi