diff options
Diffstat (limited to 'extras/ganesha/scripts/dbus-send.sh')
-rwxr-xr-x | extras/ganesha/scripts/dbus-send.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/ganesha/scripts/dbus-send.sh b/extras/ganesha/scripts/dbus-send.sh index 87e616c23a2..9f638ca4d6b 100755 --- a/extras/ganesha/scripts/dbus-send.sh +++ b/extras/ganesha/scripts/dbus-send.sh @@ -91,7 +91,7 @@ string:"EXPORT(Path=/$VOL)" function dynamic_export_remove() { removed_id=`cat $GANESHA_DIR/exports/export.$VOL.conf |\ -grep Export_Id | cut -d ' ' -f8` +grep Export_Id | awk -F"[=,;]" '{print$2}'| tr -d '[[:space:]]'` check_cmd_status `echo $?` dbus-send --print-reply --system \ --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr \ |