Fix sysctl-p execution not working properly

Fixes issue that sysctl-p execute command only executed first file in the directory.