From: ivan Date: Wed, 24 Sep 2003 17:20:35 +0000 (+0000) Subject: don't change dir either when username_pwonly is set X-Git-Tag: freeside_1_4_2beta1~492 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=06a81b58e5bfae7df0ef560bd5b9291ad01e0af2;p=freeside.git don't change dir either when username_pwonly is set --- diff --git a/FS/FS/part_export/shellcommands.pm b/FS/FS/part_export/shellcommands.pm index 8d9795a7d..da24e5ca7 100644 --- a/FS/FS/part_export/shellcommands.pm +++ b/FS/FS/part_export/shellcommands.pm @@ -93,6 +93,9 @@ sub _export_replace { if ( $old_uid != $new_uid ) { $error ||= "can't change uid"; } + if ( $old_dir ne $new_dir ) { + $error ||= "can't change dir"; + } return $error. ' ('. $self->exporttype. ' to '. $self->machine. ')' if $error; }