Fix edit ownership preservance by using cp
This commit is contained in:
		
							parent
							
								
									6a53a49161
								
							
						
					
					
						commit
						daef727a61
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -23,4 +23,6 @@ $priv_cmd chown $user:$group "$filepath" | |||
| 
 | ||||
| $EDITOR "$filepath" | ||||
| 
 | ||||
| $priv_cmd mv "$filepath" "$1" | ||||
| $priv_cmd cp "$filepath" "$1" | ||||
| 
 | ||||
| rm "$filepath" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue