From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id DBDD221959CD4 for ; Wed, 7 Jun 2017 15:13:18 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP; 07 Jun 2017 15:14:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,311,1493708400"; d="scan'208";a="1139048547" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 07 Jun 2017 15:14:19 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 7 Jun 2017 15:14:19 -0700 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.151]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.56]) with mapi id 14.03.0319.002; Thu, 8 Jun 2017 06:14:16 +0800 From: "Ni, Ruiyu" To: "Shah, Tapan" CC: "Carsey, Jaben" , "edk2-devel@lists.01.org" Thread-Topic: [edk2] [PATCH] ShellPkg/alias: Return status for alias deletion Thread-Index: AQHS3p8EZHytuxrwH0iFv+buukdAdqIXhMCAgADVC4CAAAMFAIAABn9wgAEmdbCAAG/KOg== Date: Wed, 7 Jun 2017 22:14:15 +0000 Message-ID: References: <20170606082904.195040-1-ruiyu.ni@intel.com>, <734D49CCEBEEF84792F5B80ED585239D5B988FB6@SHSMSX104.ccr.corp.intel.com> <3DAAB008-D40F-48B1-B8AA-0F418CA19FE3@intel.com> , In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: MIME-Version: 1.0 Subject: Re: [PATCH] ShellPkg/alias: Return status for alias deletion X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jun 2017 22:13:19 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSBkaWQgdGhpbmsgYWJvdXQgY2hhbmdpbmcgYXMgeW91IHN1Z2dlc3RlZC4gQnV0IG90aGVyIGVy cm9ycyBhbHNvIG1heSBiZSBERVZJQ0VfRVJST1IgaW4gY2FzZSB0aGUgTlYgc3RvcmFnZSBoYXMg c29tZSBwcm9ibGVtLiBTbyBJIGRpZCBub3QgY2hhbmdlIGl0Lg0KU29ycnkgZm9yIG5vdCByZXBs eWluZyB0byB5b3UgYmVmb3JlIGNoZWNraW5nIGluIHRoZSBjb2RlLg0KDQpTZW5kIGZyb20gbW9i aWxlIHBob25lDQoNCj4g1NogMjAxN8TqNtTCN8jVo6zPws7nMTE6MzWjrFNoYWgsIFRhcGFuIDx0 YXBhbmRzaGFoQGhwZS5jb20+INC0tcCjug0KPiANCj4gUmF5LA0KPiAgIEkgZG9uJ3Qgc2VlIHlv dXIgY2hlY2staW4gaW5jbHVkZXMgdGhlIGNoYW5nZSBJIHByb3Bvc2VkIGJlbG93Lg0KPiANCj4g VGFwYW4NCj4gDQo+IA0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTaGFo LCBUYXBhbg0KPiBTZW50OiBUdWVzZGF5LCBKdW5lIDA2LCAyMDE3IDU6MDMgUE0NCj4gVG86ICdD YXJzZXksIEphYmVuJyA8amFiZW4uY2Fyc2V5QGludGVsLmNvbT47IE5pLCBSdWl5dSA8cnVpeXUu bmlAaW50ZWwuY29tPjsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCj4gU3ViamVjdDogUkU6IFtl ZGsyXSBbUEFUQ0hdIFNoZWxsUGtnL2FsaWFzOiBSZXR1cm4gc3RhdHVzIGZ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