From: ivan Date: Wed, 24 Sep 2003 17:20:33 +0000 (+0000) Subject: don't change dir either when username_pwonly is set X-Git-Tag: freeside_1_5_0pre4^2~276 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=f4f77f82129f972d17d95a1e1f7bda9d1f1c4325;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; }