Previously S3FS_PID was not set in the correct shell and thus ps u $S3FS_PID showed all programs. This caused the flag detection to fail when users ran other instances of s3fs with different flags. References #1402.